Type Definition no_std_compat2::sync::RwLockWriteGuard

source ·
pub type RwLockWriteGuard<'a, T> = RwLockWriteGuard<'a, T, Spin>;
Available on crate feature alloc and crate feature compat_sync and crate feature rwlock and non-crate feature std only.
Expand description

A guard that provides mutable data access. See rwlock::RwLockWriteGuard for documentation.

A note for advanced users: this alias exists to avoid subtle type inference errors due to the default relax strategy type parameter. If you need a non-default relax strategy, use the fully-qualified path.

Trait Implementations§

source§

impl<'a, T: ?Sized> UnwrapExt for RwLockWriteGuard<'a, T>

Available on crate feature compat_guard_unwrap only.
source§

fn unwrap(self) -> Self