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: CryptReencryptModeInfo
Type of reencryption operation
direction: CryptReencryptDirectionInfo
Start at beginning or end of disk
resilience: String
§hash: String
§data_shift: u64
§max_hotzone_size: u64
§device_size: u64
Size of the device
luks2: CryptParamsLuks2
LUKS2-specific parameters
flags: CryptReencrypt
Reencryption 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.
Auto Trait Implementations§
impl RefUnwindSafe for CryptParamsReencrypt
impl Send for CryptParamsReencrypt
impl Sync for CryptParamsReencrypt
impl Unpin for CryptParamsReencrypt
impl UnwindSafe for CryptParamsReencrypt
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more