Struct freqache::LFUCache [−][src]
pub struct LFUCache<K, V, P> { /* fields omitted */ }
Expand description
A weighted, thread-safe, futures-aware least-frequently-used cache
Implementations
Return true
if the cache contains the given key.
Borrow the value of the cache entry with the given key.
Remove an entry from the cache, and clone and return its value if present.
Traverse the cache values beginning with the least-frequent.
Auto Trait Implementations
impl<K, V, P> RefUnwindSafe for LFUCache<K, V, P> where
K: RefUnwindSafe,
P: RefUnwindSafe,
impl<K, V, P> UnwindSafe for LFUCache<K, V, P> where
K: UnwindSafe,
P: UnwindSafe,