pub fn read<T>(lock: &RwLock<T>) -> RwLockReadGuard<'_, T>Expand description
Read-locks lock, taking the data even when a panicking thread poisoned it.
pub fn read<T>(lock: &RwLock<T>) -> RwLockReadGuard<'_, T>Read-locks lock, taking the data even when a panicking thread poisoned it.