Type Alias spin::lock_api::RwLockReadGuard

source ·
pub type RwLockReadGuard<'a, T> = RwLockReadGuard<'a, RwLock<()>, T>;
Expand description

A guard that provides immutable data access (compatible with lock_api).

Aliased Type§

struct RwLockReadGuard<'a, T> { /* private fields */ }

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.