Trait bee_storage::access::Insert
source · [−]pub trait Insert<K, V>: StorageBackend {
fn insert(&self, key: &K, value: &V) -> Result<(), Self::Error>;
}
Expand description
Insert<K, V>
trait extends the StorageBackend
with insert
operation for the (key: K, value: V) pair;
therefore, it should be explicitly implemented for the corresponding StorageBackend
.