Skip to main content

MutexRecover

Trait MutexRecover 

pub trait MutexRecover<T>
where 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>

Implementations on Foreign Types§

§

impl<T> MutexRecover<T> for Mutex<T>
where T: ?Sized,

§

fn lock_recover(&self) -> MutexGuard<'_, T>

Implementors§