Skip to main content

lock

Function lock 

Source
pub fn lock(m: &Shared) -> MutexGuard<'_, Metrics>
Expand description

A poisoned mutex is no reason to crash: these are counters, not invariants.