Function holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::parking_lot::const_mutex
source · pub const fn const_mutex<T>(val: T) -> Mutex<RawMutex, T>
Expand description
Creates a new mutex in an unlocked state ready for use.
This allows creating a mutex in a constant context on stable Rust.