pub trait LruIteratorSupport<'a, K: 'a, V: 'a> {
type Iter: Iterator<Item = (&'a K, &'a V)>;
type IterMut: Iterator<Item = (&'a K, &'a mut V)>;
// Required methods
fn iter(&'a self) -> Self::Iter;
fn iter_mut(&'a mut self) -> Self::IterMut;
}Expand description
Helper trait for backends that support iteration.