Struct lru_map::LRUMap [−][src]
pub struct LRUMap<K, T, const N: usize> { /* fields omitted */ }
Expand description
LRU map
Implementations
Put a key-value pair Returns the old value if the key exists, otherwise returns None
Remove a key
Remove keys which match the predicate.
Touch the keys which match the predicate.
Iterator for keys and values
Trait Implementations
Auto Trait Implementations
impl<K, T, const N: usize> RefUnwindSafe for LRUMap<K, T, N> where
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<K, T, const N: usize> UnwindSafe for LRUMap<K, T, N> where
K: UnwindSafe,
T: UnwindSafe,