Struct libcryptsetup_rs::ActiveDevice
source · pub struct ActiveDevice {
pub offset: u64,
pub iv_offset: u64,
pub size: u64,
pub flags: CryptActivate,
}Expand description
Record containing data on the given active device
Fields§
§offset: u64Device offset
iv_offset: u64Initialization vector offset
size: u64Size of the device
flags: CryptActivateFlags with activation options
Trait Implementations§
source§impl<'a> TryFrom<&'a crypt_active_device> for ActiveDevice
impl<'a> TryFrom<&'a crypt_active_device> for ActiveDevice
§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.