pub struct CryptParamsLuks2 {
    pub pbkdf: Option<CryptPbkdfType>,
    pub integrity: Option<String>,
    pub integrity_params: Option<CryptParamsIntegrity>,
    pub data_alignment: size_t,
    pub data_device: Option<PathBuf>,
    pub sector_size: u32,
    pub label: Option<String>,
    pub subsystem: Option<String>,
}
Expand description

LUKS2-specific parameters

Fields

pbkdf: Option<CryptPbkdfType>integrity: Option<String>integrity_params: Option<CryptParamsIntegrity>data_alignment: size_tdata_device: Option<PathBuf>sector_size: u32label: Option<String>subsystem: Option<String>

Trait Implementations

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.

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.