pub struct CryptParamsPlain {
    pub hash: String,
    pub offset: u64,
    pub sector_size: u32,
    pub size: u64,
    pub skip: u64,
}
Expand description

Struct representing plain cryptsetup format parameters

Fields

hash: String

Password hash function

offset: u64

Offset in sectors

sector_size: u32

Sector size in bytes

size: u64

Size of mapped device

skip: u64

IV offset

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.