Function holochain::prelude::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::dependencies::parking_lot::const_rwlock
source · pub const fn const_rwlock<T>(val: T) -> RwLock<RawRwLock, T>
Expand description
Creates a new instance of an RwLock<T>
which is unlocked.
This allows creating a RwLock<T>
in a constant context on stable Rust.