pub struct Cache<K, V> { /* private fields */ }Expand description
A not so accurate but performant time and capacity based cache.
Implementations§
source§impl<K, V> Cache<K, V>where
K: Eq + Hash + Clone,
V: Clone,
impl<K, V> Cache<K, V>where K: Eq + Hash + Clone, V: Clone,
Auto Trait Implementations§
impl<K, V> !RefUnwindSafe for Cache<K, V>
impl<K, V> Send for Cache<K, V>where K: Send, V: Send,
impl<K, V> Sync for Cache<K, V>where K: Send + Sync, V: Send + Sync,
impl<K, V> Unpin for Cache<K, V>
impl<K, V> UnwindSafe for Cache<K, V>where K: UnwindSafe, V: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more