pub struct RwLockWriteGuard<'a, T> {
    inner: RwLockWriteGuard<'a, T>,
    saved: LockStateGuard,
}Expand description
A write guard produced by locking RwLock for writing.
This is just a wrapper around a parking_lot::RwLockWriteGuard, along
with the state needed to track lock acquisition.
For details, see the module documentation.
Fields§
§inner: RwLockWriteGuard<'a, T>§saved: LockStateGuardImplementations§
Source§impl<'a, T> RwLockWriteGuard<'a, T>
 
impl<'a, T> RwLockWriteGuard<'a, T>
pub fn downgrade(this: Self) -> RwLockReadGuard<'a, T>
Trait Implementations§
Source§impl<'a, T> Deref for RwLockWriteGuard<'a, T>
 
impl<'a, T> Deref for RwLockWriteGuard<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for RwLockWriteGuard<'a, T>
impl<'a, T> !RefUnwindSafe for RwLockWriteGuard<'a, T>
impl<'a, T> !Send for RwLockWriteGuard<'a, T>
impl<'a, T> Sync for RwLockWriteGuard<'a, T>where
    T: Sync,
impl<'a, T> Unpin for RwLockWriteGuard<'a, T>
impl<'a, T> !UnwindSafe for RwLockWriteGuard<'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