Trait New
tokio_lk
pub trait New<T: Clone>: Destruct<T> { fn new(target: usize, map: KeyPool<T>) -> Self; }
fn new(target: usize, map: KeyPool<T>) -> Self
impl New<Arc<Mutex<HashMap<usize, Arc<(AtomicUsize, AtomicUsize, AtomicSerialWaker)>, RandomState>>>> for Lock<MapType>
fn new(target: usize, map: KeyPool<MapType>) -> Self
Create a Lock instance. This operation might block threads from parking for a while Don't use this function inside tokio context please refer to fnew function to provide asynchrons Lock instance generation
fnew
Lock