[][src]Struct libcryptsetup_rs::CryptParamsIntegrity

pub struct CryptParamsIntegrity {
    pub journal_size: u64,
    pub journal_watermark: c_uint,
    pub journal_commit_time: c_uint,
    pub interleave_sectors: u32,
    pub tag_size: u32,
    pub sector_size: u32,
    pub buffer_sectors: u32,
    pub integrity: String,
    pub integrity_key_size: u32,
    pub journal_integrity: String,
    pub journal_integrity_key: Vec<u8>,
    pub journal_crypt: String,
    pub journal_crypt_key: Vec<u8>,
}

Parameters for integrity checking

Fields

journal_size: u64journal_watermark: c_uintjournal_commit_time: c_uintinterleave_sectors: u32tag_size: u32sector_size: u32buffer_sectors: u32integrity: Stringintegrity_key_size: u32journal_integrity: Stringjournal_integrity_key: Vec<u8>journal_crypt: Stringjournal_crypt_key: Vec<u8>

Trait Implementations

impl<'a> TryFrom<&'a crypt_params_integrity> for CryptParamsIntegrity[src]

type Error = LibcryptErr

The type returned in the event of a conversion error.

impl<'a> TryInto<CryptParamsIntegrityRef<'a>> for &'a CryptParamsIntegrity[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.