[][src]Module cryptsetup_rs::api

High-level API to work with libcryptsetup supported devices (disks)

Re-exports

pub use crate::device::enable_debug;
pub use crate::device::Error;
pub use crate::device::Keyslot;
pub use crate::device::Result;

Structs

CryptDeviceFormatBuilder

Struct containing state for the format() builder

CryptDeviceHandle

An opaque handle on an initialized crypt device

CryptDeviceOpenBuilder

Struct containing state for the open() builder

Luks1Params

Struct for storing LUKS1 parameters in memory

Traits

CryptDevice

Trait representing common operations on a crypt device

CryptDeviceType

Trait for querying the device type at runtime

Luks1CryptDevice

Trait representing specific operations on a LUKS1 device

Functions

format

Builder to format a crypt device at the specified path

luks1_uuid

Read the UUID of a LUKS1 container without opening the device

open

Builder to open a crypt device at the specified path

Type Definitions

Luks1CryptDeviceHandle