Struct libcryptsetup_rs::CryptParamsVerityRef
source · [−]pub struct CryptParamsVerityRef<'a> {
pub inner: crypt_params_verity,
/* private fields */
}
Expand description
Reference to parameters specific to Verity
Fields
inner: crypt_params_verity
C representation of the struct to use with FFI
Trait Implementations
sourceimpl<'a> TryInto<CryptParamsVerityRef<'a>> for &'a CryptParamsVerity
impl<'a> TryInto<CryptParamsVerityRef<'a>> for &'a CryptParamsVerity
type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
sourcefn try_into(self) -> Result<CryptParamsVerityRef<'a>, Self::Error>
fn try_into(self) -> Result<CryptParamsVerityRef<'a>, Self::Error>
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CryptParamsVerityRef<'a>
impl<'a> !Send for CryptParamsVerityRef<'a>
impl<'a> !Sync for CryptParamsVerityRef<'a>
impl<'a> Unpin for CryptParamsVerityRef<'a>
impl<'a> UnwindSafe for CryptParamsVerityRef<'a>
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