Struct network_collections::least_recently_used_cache::LeastRecentlyUsedCache[][src]

pub struct LeastRecentlyUsedCache<K: Eq + Hash, V> { /* fields omitted */ }

A least-recently used cache.

Methods

impl<K: Eq + Hash, V> LeastRecentlyUsedCache<K, V>
[src]

Creates a new instance.

Gets an item.

Gets an item.

Removes an item.

Is this cache full?

Trait Implementations

impl<K: Debug + Eq + Hash, V: Debug> Debug for LeastRecentlyUsedCache<K, V>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<K, V> !Send for LeastRecentlyUsedCache<K, V>

impl<K, V> !Sync for LeastRecentlyUsedCache<K, V>