pub struct MemoryCache { /* private fields */ }
Expand description
In-memory cache implementation
Trait Implementations§
Source§impl Cache for MemoryCache
impl Cache for MemoryCache
Source§impl Default for MemoryCache
impl Default for MemoryCache
Source§fn default() -> MemoryCache
fn default() -> MemoryCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemoryCache
impl RefUnwindSafe for MemoryCache
impl Send for MemoryCache
impl Sync for MemoryCache
impl Unpin for MemoryCache
impl UnwindSafe for MemoryCache
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