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