pub trait BatchTrait {
// Required methods
fn insert(&mut self, key: &[u8], value: &[u8]);
fn remove(&mut self, key: &[u8]);
fn commit(&mut self) -> Result<()>;
}Expand description
Trait for batch write operations
pub trait BatchTrait {
// Required methods
fn insert(&mut self, key: &[u8], value: &[u8]);
fn remove(&mut self, key: &[u8]);
fn commit(&mut self) -> Result<()>;
}Trait for batch write operations