[][src]Struct libcryptsetup_rs::CryptParamsLuks2

pub struct CryptParamsLuks2 {
    pub pbkdf: Option<CryptPbkdfType>,
    pub integrity: Option<String>,
    pub integrity_params: Option<CryptParamsIntegrity>,
    pub data_alignment: size_t,
    pub data_device: Option<PathBuf>,
    pub sector_size: u32,
    pub label: Option<String>,
    pub subsystem: Option<String>,
}

LUKS2-specific parameters

Fields

pbkdf: Option<CryptPbkdfType>integrity: Option<String>integrity_params: Option<CryptParamsIntegrity>data_alignment: size_tdata_device: Option<PathBuf>sector_size: u32label: Option<String>subsystem: Option<String>

Trait Implementations

impl<'a> TryFrom<&'a crypt_params_luks2> for CryptParamsLuks2[src]

type Error = LibcryptErr

The type returned in the event of a conversion error.

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

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.