pub trait MutexExt<T> {
// Required method
fn lock_blocking(&self) -> MutexGuard<'_, T>;
}Required Methods§
Sourcefn lock_blocking(&self) -> MutexGuard<'_, T>
fn lock_blocking(&self) -> MutexGuard<'_, T>
Lock the mutex, blocking the current thread until it can be acquired.