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