Trait leveldb::database::batch::Batch [-] [+] [src]

pub trait Batch<K: Key> {
    fn write(&self, options: WriteOptions, batch: &Writebatch<K>) -> Result<(), Error>;
}

Batch access to the database

Required Methods

fn write(&self, options: WriteOptions, batch: &Writebatch<K>) -> Result<(), Error>

Write a batch to the database, ensuring success for all items or an error

Implementors