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]

Creates a new SizedCache with a given capacity

Trait Implementations

impl<K: Hash + Eq + Clone, V> Cached<K, V> for SizedCache<K, V>
[src]