Trait bee_storage::access::AsIterator [−][src]
pub trait AsIterator<'a, K, V>: StorageBackend { type AsIter: Iterator<Item = Result<(K, V), Self::Error>>; fn iter(&'a self) -> Result<Self::AsIter, Self::Error>; }
Expand description
AsIterator<'a, K, V> trait extends the StorageBackend with iter operation for the (key: K, value: V) pair;
therefore, it should be explicitly implemented for the corresponding StorageBackend.