pub struct CacheEntryReadGuard<'a, V> { /* private fields */ }Expand description
Read guard for references to the inner cache structure.
This structure is required to return references to the inner cache entries
when using locking mechanisms. This structure should be transparent for the
most part as it implements Deref to convert itself into the inner value.
Trait Implementations§
Source§impl<'a, V: Debug> Debug for CacheEntryReadGuard<'a, V>
impl<'a, V: Debug> Debug for CacheEntryReadGuard<'a, V>
Source§impl<'a, V> Deref for CacheEntryReadGuard<'a, V>
impl<'a, V> Deref for CacheEntryReadGuard<'a, V>
impl<V> Send for CacheEntryReadGuard<'_, V>
impl<V> Sync for CacheEntryReadGuard<'_, V>
Auto Trait Implementations§
impl<'a, V> Freeze for CacheEntryReadGuard<'a, V>
impl<'a, V> RefUnwindSafe for CacheEntryReadGuard<'a, V>where
V: RefUnwindSafe,
impl<'a, V> Unpin for CacheEntryReadGuard<'a, V>
impl<'a, V> UnwindSafe for CacheEntryReadGuard<'a, V>where
V: RefUnwindSafe,
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