pub struct RwLockWriteGuard<'a, T: ?Sized + 'a>(/* private fields */);Expand description
RAII structure used to release the shared write access of a lock when dropped.
This structure is created by the super::RwLock::write and super::RwLock::try_write methods on super::RwLock.
Trait Implementations§
Source§impl<'a, T> Deref for RwLockWriteGuard<'a, T>where
T: ?Sized,
impl<'a, T> Deref for RwLockWriteGuard<'a, T>where
T: ?Sized,
Source§impl<'a, T> DerefMut for RwLockWriteGuard<'a, T>where
T: ?Sized,
impl<'a, T> DerefMut for RwLockWriteGuard<'a, T>where
T: ?Sized,
Source§impl Display for RwLockWriteGuard<'_, str>
impl Display for RwLockWriteGuard<'_, str>
Source§impl<'a, T> From<RwLockWriteGuard<'a, T>> for RwLockWriteGuard<'a, T>
impl<'a, T> From<RwLockWriteGuard<'a, T>> for RwLockWriteGuard<'a, T>
Source§fn from(guard: RwLockWriteGuard<'a, T>) -> Self
fn from(guard: RwLockWriteGuard<'a, T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, T> Freeze for RwLockWriteGuard<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for RwLockWriteGuard<'a, T>where
T: ?Sized,
impl<'a, T> !Send for RwLockWriteGuard<'a, T>
impl<'a, T> Sync for RwLockWriteGuard<'a, T>
impl<'a, T> Unpin for RwLockWriteGuard<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for RwLockWriteGuard<'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