Struct async_lock::RwLockReadGuard
source · pub struct RwLockReadGuard<'a, T: ?Sized> { /* private fields */ }
Expand description
A guard that releases the read lock when dropped.
Trait Implementations§
source§impl<T: ?Sized> Deref for RwLockReadGuard<'_, T>
impl<T: ?Sized> Deref for RwLockReadGuard<'_, T>
source§impl<T: ?Sized> Drop for RwLockReadGuard<'_, T>
impl<T: ?Sized> Drop for RwLockReadGuard<'_, T>
impl<T: Sync + ?Sized> Send for RwLockReadGuard<'_, T>
impl<T: Sync + ?Sized> Sync for RwLockReadGuard<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for RwLockReadGuard<'a, T>where
T: ?Sized,
impl<'a, T> !RefUnwindSafe for RwLockReadGuard<'a, T>
impl<'a, T> Unpin for RwLockReadGuard<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for RwLockReadGuard<'a, T>
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