Trait MutexExt

Source
pub trait MutexExt<T> {
    // Required method
    fn ulock(&self) -> MutexGuard<'_, T>;
}
Expand description

Extension trait for Mutex<T>.

Required Methods§

Source

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

Like lock, but propagates instead of catches panics.

Implementations on Foreign Types§

Source§

impl<T> MutexExt<T> for Mutex<T>

Source§

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

Implementors§