Trait WritebatchIterator

Source
pub trait WritebatchIterator {
    type K: Key;

    // Required methods
    fn put(&mut self, key: Self::K, value: &[u8]);
    fn deleted(&mut self, key: Self::K);
}
Expand description

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

Required Associated Types§

Source

type K: Key

The database key type this iterates over

Required Methods§

Source

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

Callback for put items

Source

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

Callback for deleted items

Implementors§