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