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§
Source§impl<'a> TryFrom<&'a crypt_params_integrity> for CryptParamsIntegrity
impl<'a> TryFrom<&'a crypt_params_integrity> for CryptParamsIntegrity
Source§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
Source§impl<'a> TryInto<CryptParamsIntegrityRef<'a>> for &'a CryptParamsIntegrity
impl<'a> TryInto<CryptParamsIntegrityRef<'a>> for &'a CryptParamsIntegrity
Source§type Error = LibcryptErr
type Error = LibcryptErr
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CryptParamsIntegrity
impl RefUnwindSafe for CryptParamsIntegrity
impl Send for CryptParamsIntegrity
impl Sync for CryptParamsIntegrity
impl Unpin for CryptParamsIntegrity
impl UnwindSafe for CryptParamsIntegrity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more