Struct libcryptsetup_rs::CryptParamsLuks1Ref
source · [−]pub struct CryptParamsLuks1Ref<'a> {
pub inner: crypt_params_luks1,
/* private fields */
}
Expand description
A struct with a lifetime representing a reference to CryptParamsLuks1
.
Fields
inner: crypt_params_luks1
The struct containing data referenced from the corresponding
CryptParamsLuks1
.
Trait Implementations
sourceimpl<'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.
sourcefn try_into(self) -> Result<CryptParamsLuks1Ref<'a>, Self::Error>
fn try_into(self) -> Result<CryptParamsLuks1Ref<'a>, Self::Error>
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CryptParamsLuks1Ref<'a>
impl<'a> !Send for CryptParamsLuks1Ref<'a>
impl<'a> !Sync for CryptParamsLuks1Ref<'a>
impl<'a> Unpin for CryptParamsLuks1Ref<'a>
impl<'a> UnwindSafe for CryptParamsLuks1Ref<'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