Struct crossbeam_utils::sync::ShardedLockReadGuard
source · [−]pub struct ShardedLockReadGuard<'a, T: ?Sized> { /* private fields */ }
Expand description
A guard used to release the shared read access of a ShardedLock
when dropped.
Trait Implementations
sourceimpl<T: Debug> Debug for ShardedLockReadGuard<'_, T>
impl<T: Debug> Debug for ShardedLockReadGuard<'_, T>
sourceimpl<T: ?Sized> Deref for ShardedLockReadGuard<'_, T>
impl<T: ?Sized> Deref for ShardedLockReadGuard<'_, T>
sourceimpl<T: ?Sized + Display> Display for ShardedLockReadGuard<'_, T>
impl<T: ?Sized + Display> Display for ShardedLockReadGuard<'_, T>
impl<T: ?Sized + Sync> Sync for ShardedLockReadGuard<'_, T>
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for ShardedLockReadGuard<'a, T>
impl<'a, T> !Send for ShardedLockReadGuard<'a, T>
impl<'a, T: ?Sized> Unpin for ShardedLockReadGuard<'a, T>
impl<'a, T: ?Sized> UnwindSafe for ShardedLockReadGuard<'a, T>
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