pub struct Luks2Keyslot {
pub id: String,
pub key_size: usize,
pub af_stripes: u32,
pub af_hash: String,
pub area_offset: u64,
pub area_size: u64,
pub area_encryption: String,
pub kdf: Luks2Kdf,
}Expand description
A LUKS2 keyslot.
Fields§
§id: StringKeyslot id (JSON object key).
key_size: usizeMaster-key size in bytes.
af_stripes: u32Anti-forensic stripe count.
af_hash: StringAnti-forensic hash.
area_offset: u64Byte offset of the AF key-material area.
area_size: u64Byte length of the AF key-material area.
area_encryption: StringAF-area cipher (e.g. aes-xts-plain64).
kdf: Luks2KdfThe KDF.
Trait Implementations§
Source§impl Clone for Luks2Keyslot
impl Clone for Luks2Keyslot
Source§fn clone(&self) -> Luks2Keyslot
fn clone(&self) -> Luks2Keyslot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Luks2Keyslot
impl Debug for Luks2Keyslot
impl Eq for Luks2Keyslot
Source§impl PartialEq for Luks2Keyslot
impl PartialEq for Luks2Keyslot
impl StructuralPartialEq for Luks2Keyslot
Auto Trait Implementations§
impl Freeze for Luks2Keyslot
impl RefUnwindSafe for Luks2Keyslot
impl Send for Luks2Keyslot
impl Sync for Luks2Keyslot
impl Unpin for Luks2Keyslot
impl UnsafeUnpin for Luks2Keyslot
impl UnwindSafe for Luks2Keyslot
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