Struct libcryptsetup_rs::CryptParamsIntegrity
source · [−]pub struct CryptParamsIntegrity {Show 13 fields
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>,
}
Expand description
Parameters for integrity checking
Fields
journal_size: u64
journal_watermark: c_uint
journal_commit_time: c_uint
interleave_sectors: u32
tag_size: u32
sector_size: u32
buffer_sectors: u32
integrity: String
integrity_key_size: u32
journal_integrity: String
journal_integrity_key: Vec<u8>
journal_crypt: String
journal_crypt_key: Vec<u8>
Trait Implementations
sourceimpl<'a> TryFrom<&'a crypt_params_integrity> for CryptParamsIntegrity
impl<'a> TryFrom<&'a crypt_params_integrity> for CryptParamsIntegrity
type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
sourcefn try_from(v: &'a crypt_params_integrity) -> Result<Self, Self::Error>
fn try_from(v: &'a crypt_params_integrity) -> Result<Self, Self::Error>
Performs the conversion.
sourceimpl<'a> TryInto<CryptParamsIntegrityRef<'a>> for &'a CryptParamsIntegrity
impl<'a> TryInto<CryptParamsIntegrityRef<'a>> for &'a CryptParamsIntegrity
type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
sourcefn try_into(self) -> Result<CryptParamsIntegrityRef<'a>, Self::Error>
fn try_into(self) -> Result<CryptParamsIntegrityRef<'a>, Self::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CryptParamsIntegrity
impl Send for CryptParamsIntegrity
impl Sync for CryptParamsIntegrity
impl Unpin for CryptParamsIntegrity
impl UnwindSafe for CryptParamsIntegrity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more