[][src]Struct libcryptsetup_rs::CryptParamsLuks2Ref

pub struct CryptParamsLuks2Ref<'a> {
    pub inner: crypt_params_luks2,
    // some fields omitted
}

A struct representing a reference with a lifetime to a CryptParamsLuks2 struct

Fields

inner: crypt_params_luks2

Trait Implementations

impl<'a> TryInto<CryptParamsLuks2Ref<'a>> for &'a CryptParamsLuks2[src]

type Error = LibcryptErr

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.