Struct libcryptsetup_rs::CryptParamsLoopaes
source · pub struct CryptParamsLoopaes {
pub hash: String,
pub offset: u64,
pub skip: u64,
}
Expand description
Parameters for formatting a loop AES device
Fields§
§hash: String
§offset: u64
§skip: u64
Trait Implementations§
source§impl<'a> TryFrom<&'a crypt_params_loopaes> for CryptParamsLoopaes
impl<'a> TryFrom<&'a crypt_params_loopaes> for CryptParamsLoopaes
§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
source§impl<'a> TryInto<CryptParamsLoopaesRef<'a>> for &'a CryptParamsLoopaes
impl<'a> TryInto<CryptParamsLoopaesRef<'a>> for &'a CryptParamsLoopaes
§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl RefUnwindSafe for CryptParamsLoopaes
impl Send for CryptParamsLoopaes
impl Sync for CryptParamsLoopaes
impl Unpin for CryptParamsLoopaes
impl UnwindSafe for CryptParamsLoopaes
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