Trait MutexExtensions

Source
pub trait MutexExtensions<T> {
    // Required method
    fn lock_with_metric(&self, metric: &Lock) -> LockGuard<MutexGuard<'_, T>>;
}

Required Methods§

Source

fn lock_with_metric(&self, metric: &Lock) -> LockGuard<MutexGuard<'_, T>>

Implementations on Foreign Types§

Source§

impl<T> MutexExtensions<T> for Mutex<T>

Source§

fn lock_with_metric(&self, metric: &Lock) -> LockGuard<MutexGuard<'_, T>>

Implementors§