Struct libcryptsetup_rs::CryptParamsReencrypt
source · 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: CryptReencryptModeInfoType of reencryption operation
direction: CryptReencryptDirectionInfoStart at beginning or end of disk
resilience: String§hash: String§data_shift: u64§max_hotzone_size: u64§device_size: u64Size of the device
luks2: CryptParamsLuks2LUKS2-specific parameters
flags: CryptReencryptReencryption flags
Trait Implementations§
source§impl<'a> TryInto<CryptParamsReencryptRef<'a>> for &'a CryptParamsReencrypt
impl<'a> TryInto<CryptParamsReencryptRef<'a>> for &'a CryptParamsReencrypt
§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.