pub trait StoreIterable<'a, K: 'a + ?Sized, V: 'a + ?Sized>: Store<K, V> {
type KeyValueIter: Iterator<Item = (&'a K, &'a V)> + DoubleEndedIterator + 'a;
// Required method
fn lm_iter(&'a self) -> Self::KeyValueIter;
}
Expand description
Iterator methods for the LiteMap store.
Required Associated Types§
type KeyValueIter: Iterator<Item = (&'a K, &'a V)> + DoubleEndedIterator + 'a
Required Methods§
Sourcefn lm_iter(&'a self) -> Self::KeyValueIter
fn lm_iter(&'a self) -> Self::KeyValueIter
Returns an iterator over key/value pairs.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.