Skip to main content

read

Function read 

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

Read-locks lock, taking the data even when a panicking thread poisoned it.