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

pub trait WritebatchIterator {
    type K: Key;
    fn put(&mut self, key: Self::K, value: &[u8]);
fn deleted(&mut self, key: Self::K); }

A trait for iterators to iterate over written batches and check their validity.

Associated Types

type K: Key

The database key type this iterates over

Loading content...

Required methods

fn put(&mut self, key: Self::K, value: &[u8])

Callback for put items

fn deleted(&mut self, key: Self::K)

Callback for deleted items

Loading content...

Implementors

Loading content...