Skip to main content

read

Function read 

Source
pub(crate) fn read<T>(lock: &RwLock<T>) -> RwLockReadGuard<'_, T>
Expand description

Lock a read write lock for reading, also if a panic poisoned it, see lock.