pub type Ref<'a, T> = RwLockReadGuard<'a, T>;Available on crate feature
sync-mutex only.Expand description
A shared borrow of the contents.
A read guard under sync-mutex, so several may be live at once — the same rule
core::cell::Ref follows.
Aliased Type§
pub struct Ref<'a, T> { /* private fields */ }