Struct libcryptsetup_rs::CryptParamsLuks1
source · pub struct CryptParamsLuks1 {
pub hash: String,
pub data_alignment: usize,
pub data_device: Option<PathBuf>,
}Expand description
A struct representing LUKS1 specific parameters.
Fields§
§hash: String§data_alignment: usize§data_device: Option<PathBuf>Trait Implementations§
source§impl<'a> TryFrom<&'a crypt_params_luks1> for CryptParamsLuks1
impl<'a> TryFrom<&'a crypt_params_luks1> for CryptParamsLuks1
§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
source§impl<'a> TryInto<CryptParamsLuks1Ref<'a>> for &'a CryptParamsLuks1
impl<'a> TryInto<CryptParamsLuks1Ref<'a>> for &'a CryptParamsLuks1
§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.