pub struct WriteGuard<'a> { /* private fields */ }Expand description
A RAII guard returned by a successful write lock. While one of these exists there are no other holders of the lock, readers or writers.
Trait Implementations§
Source§impl Debug for WriteGuard<'_>
impl Debug for WriteGuard<'_>
Source§impl Drop for WriteGuard<'_>
impl Drop for WriteGuard<'_>
impl Sync for WriteGuard<'_>
Auto Trait Implementations§
impl<'a> !Send for WriteGuard<'a>
impl<'a> Freeze for WriteGuard<'a>
impl<'a> RefUnwindSafe for WriteGuard<'a>
impl<'a> Unpin for WriteGuard<'a>
impl<'a> UnsafeUnpin for WriteGuard<'a>
impl<'a> UnwindSafe for WriteGuard<'a>
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