Struct std::sync::RwLockWriteGuard
pub struct RwLockWriteGuard<'a, T: ?Sized + 'a> { /* 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
[src]1.16.0
impl<T: Debug> Debug for RwLockWriteGuard<'_, T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more
impl<T: ?Sized> Deref for RwLockWriteGuard<'_, T>
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
Dereferences the value.
impl<T: ?Sized> DerefMut for RwLockWriteGuard<'_, T>
fn deref_mut(&mut self) -> &mut T
Mutably dereferences the value.
[src]1.20.0
impl<T: ?Sized + Display> Display for RwLockWriteGuard<'_, T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more
impl<T: ?Sized> Drop for RwLockWriteGuard<'_, T>
impl<T: ?Sized> !Send for RwLockWriteGuard<'_, T>
[src]1.23.0
impl<T: ?Sized + Sync> Sync for RwLockWriteGuard<'_, T>
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for RwLockWriteGuard<'a, T>
impl<'a, T: ?Sized> Unpin for RwLockWriteGuard<'a, T>
impl<'a, T: ?Sized> UnwindSafe for RwLockWriteGuard<'a, T>
Blanket Implementations
impl<T> From<T> for T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
Performs the conversion.
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
Performs the conversion.
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
Performs the conversion.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/sync/struct.RwLockWriteGuard.html