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.

Required Methods

Initialises the lock instance so that it can be safely used.

Implementors

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.