Struct async_lock::RwLockReadGuard
source · [−]pub struct RwLockReadGuard<'a, T: ?Sized>(_);
Expand description
A guard that releases the read lock when dropped.
Trait Implementations
sourceimpl<T: Debug + ?Sized> Debug for RwLockReadGuard<'_, T>
impl<T: Debug + ?Sized> Debug for RwLockReadGuard<'_, T>
sourceimpl<T: ?Sized> Deref for RwLockReadGuard<'_, T>
impl<T: ?Sized> Deref for RwLockReadGuard<'_, T>
sourceimpl<T: Display + ?Sized> Display for RwLockReadGuard<'_, T>
impl<T: Display + ?Sized> Display for RwLockReadGuard<'_, T>
sourceimpl<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> !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