[][src]Struct libcryptsetup_rs::CryptParamsReencrypt

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: CryptReencryptFlags,
}

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: CryptReencryptFlags

Reencryption flags

Trait Implementations

impl<'a> TryInto<CryptParamsReencryptRef<'a>> for &'a CryptParamsReencrypt[src]

type Error = LibcryptErr

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.