Struct cached::stores::Cache
[−]
[src]
pub struct Cache<K: Hash + Eq, V> { /* fields omitted */ }
Default unbounded cache
Methods
impl<K: Hash + Eq, V> Cache<K, V>
[src]
fn new() -> Cache<K, V>
Creates an empty Cache
fn with_capacity(size: usize) -> Cache<K, V>
Creates an empty Cache
with a given pre-allocated capacity