Struct lock_keys::LockKey

source ·
pub struct LockKey { /* private fields */ }
Expand description

The lock ley object to hold the OS specific handle when it is required.

Trait Implementations§

Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more

Creates a new lock key object using IOKit for handling.

Sets a new state for the lock key using IOKit.

Enables the lock key using IOKit.

Disables the lock key using IOKit.

Toggles the lock key state returning its previous state using IOKit.

Retrieves the lock key state using IOKit.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.