Trait bee_storage::access::MultiFetch[][src]

pub trait MultiFetch<'a, K, V>: StorageBackend {
    type Iter: 'a + Iterator<Item = Result<Option<V>, Self::Error>>;
    fn multi_fetch(&'a self, keys: &'a [K]) -> Result<Self::Iter, Self::Error>;
}
Expand description

MultiFetch<'a, K, V> trait extends the StorageBackend with multi_fetch operation for the (key: K, value: V) pair; therefore, it should be explicitly implemented for the corresponding StorageBackend.

Associated Types

The iterator associated type over values.

Required methods

Fetches the values associated with the keys from the storage.

Implementors