pub struct EntryReadGuard<'a, K, V, const N: usize>where
K: KeyTraits,{ /* private fields */ }Expand description
Guard for the read lock. Puts unused entries into the LRU list.
Implementations§
Source§impl<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§
Auto Trait Implementations§
impl<'a, K, V, const N: usize> Freeze for EntryReadGuard<'a, K, V, N>
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§
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