[−][src]Struct libcryptsetup_rs::CryptParamsLuks2
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.
fn try_from(v: &'a crypt_params_luks2) -> Result<Self, Self::Error>[src]
impl<'a> TryInto<CryptParamsLuks2Ref<'a>> for &'a CryptParamsLuks2[src]
type Error = LibcryptErr
The type returned in the event of a conversion error.
fn try_into(self) -> Result<CryptParamsLuks2Ref<'a>, Self::Error>[src]
Auto Trait Implementations
impl RefUnwindSafe for CryptParamsLuks2
impl Send for CryptParamsLuks2
impl Sync for CryptParamsLuks2
impl Unpin for CryptParamsLuks2
impl UnwindSafe for CryptParamsLuks2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,