Struct exonum_leveldb::database::batch::Writebatch
[−]
[src]
pub struct Writebatch { /* fields omitted */ }
Methods
impl Writebatch
[src]
fn new() -> Writebatch
Create a new writebatch
fn clear(&mut self)
Clear the writebatch
fn put<K: AsRef<[u8]>>(&mut self, key: K, value: &[u8])
Batch a put operation
fn delete<K: AsRef<[u8]>>(&mut self, key: K)
Batch a delete operation
fn iterate<T: WritebatchIterator>(&mut self, iterator: Box<T>) -> Box<T>
Iterate over the writebatch, returning the resulting iterator