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.
Auto Trait Implementations§
impl Freeze for CryptParamsLuks1
impl RefUnwindSafe for CryptParamsLuks1
impl Send for CryptParamsLuks1
impl Sync for CryptParamsLuks1
impl Unpin for CryptParamsLuks1
impl UnwindSafe for CryptParamsLuks1
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