Struct u::sync::RwLockWriteGuard 1.0.0
[−]
[src]
#[must_use]pub struct RwLockWriteGuard<'a, T> where
T: 'a + ?Sized, { /* fields omitted */ }
RAII structure used to release the exclusive write access of a lock when dropped.
This structure is created by the write
and try_write
methods
on RwLock
.
Trait Implementations
impl<'a, T> Sync for RwLockWriteGuard<'a, T> where
T: Sync + ?Sized,
1.23.0[src]
T: Sync + ?Sized,
impl<'a, T> Debug for RwLockWriteGuard<'a, T> where
T: Debug,
1.16.0[src]
T: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<'rwlock, T> DerefMut for RwLockWriteGuard<'rwlock, T> where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'a mut Wfn deref_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'a mut W
Mutably dereferences the value.
impl<'rwlock, T> Deref for RwLockWriteGuard<'rwlock, T> where
T: ?Sized,
[src]
T: ?Sized,
type Target = T
The resulting type after dereferencing.
ⓘImportant traits for &'a mut Wfn deref(&self) -> &T
[src]
ⓘImportant traits for &'a mut W
Dereferences the value.
impl<'a, T> Display for RwLockWriteGuard<'a, T> where
T: Display + ?Sized,
1.20.0[src]
T: Display + ?Sized,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<'a, T> Drop for RwLockWriteGuard<'a, T> where
T: ?Sized,
[src]
T: ?Sized,
impl<'a, T> !Send for RwLockWriteGuard<'a, T> where
T: ?Sized,
[src]
T: ?Sized,