pub struct RwLockWriteGuard<'a, R, T>{ /* private fields */ }
Expand description
Async write lock guard.
Owning an instance of this type indicates having successfully locked the read-write lock for writing, and grants access to the contents.
Dropping it unlocks the read-write lock.
Trait Implementations§
Source§impl<'a, R, T> Debug for RwLockWriteGuard<'a, R, T>
impl<'a, R, T> Debug for RwLockWriteGuard<'a, R, T>
Source§impl<'a, R, T> Deref for RwLockWriteGuard<'a, R, T>
impl<'a, R, T> Deref for RwLockWriteGuard<'a, R, T>
Source§impl<'a, R, T> DerefMut for RwLockWriteGuard<'a, R, T>
impl<'a, R, T> DerefMut for RwLockWriteGuard<'a, R, T>
Source§impl<'a, R, T> Display for RwLockWriteGuard<'a, R, T>
impl<'a, R, T> Display for RwLockWriteGuard<'a, R, T>
Auto Trait Implementations§
impl<'a, R, T> Freeze for RwLockWriteGuard<'a, R, T>where
T: ?Sized,
impl<'a, R, T> !RefUnwindSafe for RwLockWriteGuard<'a, R, T>
impl<'a, R, T> Send for RwLockWriteGuard<'a, R, T>
impl<'a, R, T> Sync for RwLockWriteGuard<'a, R, T>
impl<'a, R, T> Unpin for RwLockWriteGuard<'a, R, T>where
T: ?Sized,
impl<'a, R, T> !UnwindSafe for RwLockWriteGuard<'a, R, 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