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