pub struct ReentrantWriteGuard<'a, T: ?Sized> { /* private fields */ }Expand description
One write of a ReentrantRwLock; drops one level of the owner’s
writes. The drop of the last level releases the write, with the
progress ReentrantReadGuard’s release makes.
Trait Implementations§
Source§impl<T: ?Sized> Deref for ReentrantWriteGuard<'_, T>
impl<T: ?Sized> Deref for ReentrantWriteGuard<'_, T>
Source§impl<T: ?Sized> Drop for ReentrantWriteGuard<'_, T>
impl<T: ?Sized> Drop for ReentrantWriteGuard<'_, T>
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for ReentrantWriteGuard<'a, T>
impl<'a, T> !Send for ReentrantWriteGuard<'a, T>
impl<'a, T> !Sync for ReentrantWriteGuard<'a, T>
impl<'a, T> !UnwindSafe for ReentrantWriteGuard<'a, T>
impl<'a, T> Freeze for ReentrantWriteGuard<'a, T>where
T: ?Sized,
impl<'a, T> Unpin for ReentrantWriteGuard<'a, T>where
T: ?Sized,
impl<'a, T> UnsafeUnpin for ReentrantWriteGuard<'a, T>where
T: ?Sized,
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