pub trait KeyValueStore {
    fn get(&self, key: &[u8], column: Column) -> Result<Option<Vec<u8>>>;
    fn put(
        &self,
        key: &[u8],
        column: Column,
        value: Vec<u8>
    ) -> Result<Option<Vec<u8>>>; fn delete(&self, key: &[u8], column: Column) -> Result<Option<Vec<u8>>>; fn exists(&self, key: &[u8], column: Column) -> Result<bool>; fn iter_all(
        &self,
        column: Column,
        prefix: Option<Vec<u8>>,
        start: Option<Vec<u8>>,
        direction: IterDirection
    ) -> Box<dyn Iterator<Item = KVItem> + '_>; }

Required Methods§

Implementors§