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§