pub struct MemoryCache<K, V> { /* private fields */ }Expand description
Unbounded in-memory HashMap-backed cache.
Implementations§
Source§impl<K, V> MemoryCache<K, V>
impl<K, V> MemoryCache<K, V>
Trait Implementations§
Source§impl<K, V> CacheBackend<K, V> for MemoryCache<K, V>
impl<K, V> CacheBackend<K, V> for MemoryCache<K, V>
Auto Trait Implementations§
impl<K, V> !Freeze for MemoryCache<K, V>
impl<K, V> !RefUnwindSafe for MemoryCache<K, V>
impl<K, V> Send for MemoryCache<K, V>
impl<K, V> Sync for MemoryCache<K, V>
impl<K, V> Unpin for MemoryCache<K, V>
impl<K, V> UnsafeUnpin for MemoryCache<K, V>
impl<K, V> !UnwindSafe for MemoryCache<K, V>
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