Struct libcryptsetup_rs::CryptParamsLuks2
source · pub struct CryptParamsLuks2 {
pub pbkdf: Option<CryptPbkdfType>,
pub integrity: Option<String>,
pub integrity_params: Option<CryptParamsIntegrity>,
pub data_alignment: size_t,
pub data_device: Option<PathBuf>,
pub sector_size: u32,
pub label: Option<String>,
pub subsystem: Option<String>,
}Expand description
LUKS2-specific parameters
Fields§
§pbkdf: Option<CryptPbkdfType>§integrity: Option<String>§integrity_params: Option<CryptParamsIntegrity>§data_alignment: size_t§data_device: Option<PathBuf>§sector_size: u32§label: Option<String>§subsystem: Option<String>Trait Implementations§
source§impl<'a> TryFrom<&'a crypt_params_luks2> for CryptParamsLuks2
impl<'a> TryFrom<&'a crypt_params_luks2> for CryptParamsLuks2
§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
source§impl<'a> TryInto<CryptParamsLuks2Ref<'a>> for &'a CryptParamsLuks2
impl<'a> TryInto<CryptParamsLuks2Ref<'a>> for &'a CryptParamsLuks2
§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.