pub struct NoCache { /* private fields */ }
Expand description
A cache object implementing no cache.
This type of cache doesn’t have to be kept around and may be constructed on every api call.
You could simply pass &mut NoCache::new()
every time.
Implementations§
Trait Implementations§
impl CacheImpl for NoCache
impl<KEY: Key> KeyCacheImpl<KEY> for NoCache
Auto Trait Implementations§
impl Freeze for NoCache
impl RefUnwindSafe for NoCache
impl Send for NoCache
impl Sync for NoCache
impl Unpin for NoCache
impl UnwindSafe for NoCache
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