pub fn lock_or_recover<'a, T>(mutex: &'a Mutex<T>) -> MutexGuard<'a, T>Expand description
Lock a mutex, recovering the inner value if the mutex was poisoned.
pub fn lock_or_recover<'a, T>(mutex: &'a Mutex<T>) -> MutexGuard<'a, T>Lock a mutex, recovering the inner value if the mutex was poisoned.