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

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

Loading content...

Implementors

impl<K: Key> Batch<K> for Database<K>[src]

Loading content...