Struct libcryptsetup_rs::CryptParamsLoopaes
source · [−]Expand description
Parameters for formatting a loop AES device
Fields
hash: String
offset: u64
skip: u64
Trait Implementations
sourceimpl<'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.
sourcefn try_from(v: &'a crypt_params_loopaes) -> Result<Self, Self::Error>
fn try_from(v: &'a crypt_params_loopaes) -> Result<Self, Self::Error>
Performs the conversion.
sourceimpl<'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.
sourcefn try_into(self) -> Result<CryptParamsLoopaesRef<'a>, Self::Error>
fn try_into(self) -> Result<CryptParamsLoopaesRef<'a>, Self::Error>
Performs the conversion.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more