Function lair_keystore::dependencies::parking_lot::const_fair_mutex

source ยท
pub const fn const_fair_mutex<T>(val: T) -> Mutex<RawFairMutex, T>
Expand description

Creates a new fair mutex in an unlocked state ready for use.

This allows creating a fair mutex in a constant context on stable Rust.