[][src]Struct libcryptsetup_rs::CryptParamsVerity

pub struct CryptParamsVerity {
    pub hash_name: String,
    pub data_device: PathBuf,
    pub hash_device: PathBuf,
    pub fec_device: PathBuf,
    pub salt: Vec<u8>,
    pub hash_type: u32,
    pub data_block_size: u32,
    pub hash_block_size: u32,
    pub data_size: u64,
    pub hash_area_offset: u64,
    pub fec_area_offset: u64,
    pub fec_roots: u32,
    pub flags: CryptVerityFlags,
}

Parameters specific to Verity

Fields

hash_name: Stringdata_device: PathBufhash_device: PathBuffec_device: PathBufsalt: Vec<u8>hash_type: u32data_block_size: u32hash_block_size: u32data_size: u64hash_area_offset: u64fec_area_offset: u64fec_roots: u32flags: CryptVerityFlags

Trait Implementations

impl<'a> TryFrom<&'a crypt_params_verity> for CryptParamsVerity[src]

type Error = LibcryptErr

The type returned in the event of a conversion error.

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