Struct cachedb::EntryReadGuard
source · [−]Expand description
Guard for the read lock. Puts unused entries into the LRU list.
Implementations
sourceimpl<K, V, const N: usize> EntryReadGuard<'_, K, V, N> where
K: KeyTraits,
impl<K, V, const N: usize> EntryReadGuard<'_, K, V, N> where
K: KeyTraits,
Trait Implementations
sourceimpl<K, V, const N: usize> Deref for EntryReadGuard<'_, K, V, N> where
K: KeyTraits,
impl<K, V, const N: usize> Deref for EntryReadGuard<'_, K, V, N> where
K: KeyTraits,
Auto Trait Implementations
impl<'a, K, V, const N: usize> !RefUnwindSafe for EntryReadGuard<'a, K, V, N>
impl<'a, K, V, const N: usize> !Send for EntryReadGuard<'a, K, V, N>
impl<'a, K, V, const N: usize> !Sync for EntryReadGuard<'a, K, V, N>
impl<'a, K, V, const N: usize> Unpin for EntryReadGuard<'a, K, V, N>
impl<'a, K, V, const N: usize> !UnwindSafe for EntryReadGuard<'a, K, V, N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more