pub struct CryptDevice { /* private fields */ }
Expand description

Data type that is a handle for a crypt device

Implementations

Reconstruct a CryptDevice object from a pointer

Get a logging option handle

Get a settings option handle

Get a format option handle

Get a context option handle

Get a keyslot option handle

Get a runtime attribute option handle

Get LUKS2 flags option handle

Get activation option handle

Get volume key option handle

Get crypt device status option handle

Get crypt device backup option handle

Get crypt debug option handle

Get crypt device keyfile option handle

Get crypt device wipe option handle

Get crypt device LUKS2 token option handle

Get crypt device reencryption option handle

Set the callback that prompts the user to confirm an action

Set the device path for a data device

Set the offset in 4096-byte sectors for the data section on a device

Trait Implementations

Executes the destructor for this type. Read more

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

Performs the conversion.

Performs the conversion.

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.