Struct async_std::sync::RwLockReadGuard
source · [−]pub struct RwLockReadGuard<'a, T>(_)
where
T: ?Sized;
Expand description
A guard that releases the read lock when dropped.
Trait Implementations
sourceimpl<'_, T> Debug for RwLockReadGuard<'_, T> where
T: Debug + ?Sized,
impl<'_, T> Debug for RwLockReadGuard<'_, T> where
T: Debug + ?Sized,
sourceimpl<'_, T> Deref for RwLockReadGuard<'_, T> where
T: ?Sized,
impl<'_, T> Deref for RwLockReadGuard<'_, T> where
T: ?Sized,
sourceimpl<'_, T> Display for RwLockReadGuard<'_, T> where
T: Display + ?Sized,
impl<'_, T> Display for RwLockReadGuard<'_, T> where
T: Display + ?Sized,
sourceimpl<'_, T> Drop for RwLockReadGuard<'_, T> where
T: ?Sized,
impl<'_, T> Drop for RwLockReadGuard<'_, T> where
T: ?Sized,
impl<'_, T> Send for RwLockReadGuard<'_, T> where
T: Sync + ?Sized,
impl<'_, T> Sync for RwLockReadGuard<'_, T> where
T: Sync + ?Sized,
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more