pub enum Luks2Kdf {
Argon2 {
kind: String,
time: u32,
memory: u32,
cpus: u32,
salt: Vec<u8>,
},
Pbkdf2 {
hash: String,
iterations: u32,
salt: Vec<u8>,
},
}Expand description
A LUKS2 keyslot key-derivation function.
Variants§
Trait Implementations§
impl Eq for Luks2Kdf
impl StructuralPartialEq for Luks2Kdf
Auto Trait Implementations§
impl Freeze for Luks2Kdf
impl RefUnwindSafe for Luks2Kdf
impl Send for Luks2Kdf
impl Sync for Luks2Kdf
impl Unpin for Luks2Kdf
impl UnsafeUnpin for Luks2Kdf
impl UnwindSafe for Luks2Kdf
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