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