Trait redis_rocksdb::KeyValue
source · pub trait KeyValue {
// Required methods
fn get<K: Bytes, V: Bytes>(
&self,
key: &K
) -> Result<Option<Vec<u8>>, RrError>;
fn put<K: Bytes, V: Bytes>(
&mut self,
key: &K,
value: &V
) -> Result<(), RrError>;
}