Trait RwLockRecover
pub trait RwLockRecover<T>where
T: ?Sized,{
// Required methods
fn read_recover(&self) -> RwLockReadGuard<'_, T>;
fn write_recover(&self) -> RwLockWriteGuard<'_, T>;
}Expand description
RwLock::read and RwLock::write, recovering the guard of a poisoned
lock.