Type Alias ckb_util::RwLockReadGuard

source ·
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> { /* private fields */ }

Trait Implementations§

§

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.
§

fn deref(&self) -> &T

Dereferences the value.