pub struct OrderedRwLockWriteGuard<'a, T: ?Sized> { /* private fields */ }Expand description
The Simple Write Lock Guard
As long as you have this guard, you have exclusive access to the underlying T. The guard internally borrows the RWLock, so the mutex will not be dropped while a guard exists.
The lock is automatically released and waked the next locker whenever the guard is dropped, at which point lock will succeed yet again.
Trait Implementations§
Source§impl<'a, T: ?Sized> Deref for OrderedRwLockWriteGuard<'a, T>
impl<'a, T: ?Sized> Deref for OrderedRwLockWriteGuard<'a, T>
Source§impl<'a, T: ?Sized> DerefMut for OrderedRwLockWriteGuard<'a, T>
impl<'a, T: ?Sized> DerefMut for OrderedRwLockWriteGuard<'a, T>
Source§impl<'a, T: ?Sized> Drop for OrderedRwLockWriteGuard<'a, T>
impl<'a, T: ?Sized> Drop for OrderedRwLockWriteGuard<'a, T>
impl<T> Send for OrderedRwLockWriteGuard<'_, T>
impl<T> Sync for OrderedRwLockWriteGuard<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for OrderedRwLockWriteGuard<'a, T>where
T: ?Sized,
impl<'a, T> !RefUnwindSafe for OrderedRwLockWriteGuard<'a, T>
impl<'a, T> Unpin for OrderedRwLockWriteGuard<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for OrderedRwLockWriteGuard<'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