pub struct CryptParamsReencrypt {
    pub mode: CryptReencryptModeInfo,
    pub direction: CryptReencryptDirectionInfo,
    pub resilience: String,
    pub hash: String,
    pub data_shift: u64,
    pub max_hotzone_size: u64,
    pub device_size: u64,
    pub luks2: CryptParamsLuks2,
    pub flags: CryptReencrypt,
}
Expand description

Parameters for reencryption operations

Fields

mode: CryptReencryptModeInfo

Type of reencryption operation

direction: CryptReencryptDirectionInfo

Start at beginning or end of disk

resilience: Stringhash: Stringdata_shift: u64max_hotzone_size: u64device_size: u64

Size of the device

luks2: CryptParamsLuks2

LUKS2-specific parameters

flags: CryptReencrypt

Reencryption flags

Trait Implementations

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

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.