Struct cached::stores::SizedCache
[−]
[src]
pub struct SizedCache<K: Hash + Eq, V> { /* fields omitted */ }
Least Recently Used / Sized
Cache
- Stores up to a specified sized before beginning
to evict the least recently used keys
Methods
impl<K: Hash + Eq, V> SizedCache<K, V>
[src]
fn with_capacity(size: usize) -> SizedCache<K, V>
Creates a new SizedCache
with a given capacity