Trait kernel::sync::LockIniter  
source · [−]pub trait LockIniter {
    fn init_lock(
        self: Pin<&mut Self>,
        name: &'static CStr,
        key: &'static LockClassKey
    );
}Expand description
A lock that can be initialised with a single lock class key.