Struct libcryptsetup_rs::CryptParamsLuks2Ref
source · [−]pub struct CryptParamsLuks2Ref<'a> {
pub inner: crypt_params_luks2,
/* private fields */
}
Expand description
A struct representing a reference with a lifetime to a CryptParamsLuks2
struct
Fields
inner: crypt_params_luks2
Trait Implementations
sourceimpl<'a> TryInto<CryptParamsLuks2Ref<'a>> for &'a CryptParamsLuks2
impl<'a> TryInto<CryptParamsLuks2Ref<'a>> for &'a CryptParamsLuks2
type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
sourcefn try_into(self) -> Result<CryptParamsLuks2Ref<'a>, Self::Error>
fn try_into(self) -> Result<CryptParamsLuks2Ref<'a>, Self::Error>
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CryptParamsLuks2Ref<'a>
impl<'a> !Send for CryptParamsLuks2Ref<'a>
impl<'a> !Sync for CryptParamsLuks2Ref<'a>
impl<'a> Unpin for CryptParamsLuks2Ref<'a>
impl<'a> UnwindSafe for CryptParamsLuks2Ref<'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