pub struct LuksHeaderV1 { /* private fields */ }Trait Implementations§
Source§impl Luks1Header for LuksHeaderV1
impl Luks1Header for LuksHeaderV1
fn cipher_name(&self) -> Result<&str, Error>
fn cipher_mode(&self) -> Result<&str, Error>
fn hash_spec(&self) -> Result<&str, Error>
fn payload_offset(&self) -> u32
fn key_bytes(&self) -> u32
fn mk_digest(&self) -> &[u8] ⓘ
fn mk_digest_salt(&self) -> &[u8] ⓘ
fn mk_digest_iterations(&self) -> u32
Auto Trait Implementations§
impl Freeze for LuksHeaderV1
impl RefUnwindSafe for LuksHeaderV1
impl Send for LuksHeaderV1
impl Sync for LuksHeaderV1
impl Unpin for LuksHeaderV1
impl UnwindSafe for LuksHeaderV1
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