pub trait MutexRecover<T: ?Sized> {
// Required method
fn lock_recover(&self) -> MutexGuard<'_, T>;
}Expand description
Mutex::lock, recovering the guard of a poisoned mutex.
Required Methods§
fn lock_recover(&self) -> MutexGuard<'_, T>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".