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

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

Aliased Type§

struct RwLockReadGuard<'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 RwLockReadGuard<'a, R, T>where R: RawRwLock + 'a, T: 'a + ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.