pub type RwLockUpgradableReadGuard<'a, T> = RwLockUpgradableReadGuard<'a, RawRwLock, T>;
Expand description

RAII structure used to release the upgradable read access of a lock when dropped.

Aliased Type§

struct RwLockUpgradableReadGuard<'a, T> {
    rwlock: &'a RwLock<RawRwLock, T>,
    marker: PhantomData<(&'a T, GuardNoSend)>,
}

Fields§

§rwlock: &'a RwLock<RawRwLock, T>§marker: PhantomData<(&'a T, GuardNoSend)>

Trait Implementations§

source§

impl<'a, R, T> Deref for RwLockUpgradableReadGuard<'a, R, T>where R: RawRwLockUpgrade + 'a, T: 'a + ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.