hotstuff_rs::block_tree::pluggables

Trait WriteBatch

source
pub trait WriteBatch {
    // Required methods
    fn new() -> Self;
    fn set(&mut self, key: &[u8], value: &[u8]);
    fn delete(&mut self, key: &[u8]);
}

Required Methods§

source

fn new() -> Self

source

fn set(&mut self, key: &[u8], value: &[u8])

source

fn delete(&mut self, key: &[u8])

Object Safety§

This trait is not object safe.

Implementors§