pub enum KeyDerivationMethod {
Argon2 {
memory_kib: u32,
iterations: u32,
parallelism: u32,
},
Pbkdf2 {
iterations: u32,
},
}Expand description
Key derivation method
Variants§
Trait Implementations§
Source§impl Clone for KeyDerivationMethod
impl Clone for KeyDerivationMethod
Source§fn clone(&self) -> KeyDerivationMethod
fn clone(&self) -> KeyDerivationMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for KeyDerivationMethod
impl RefUnwindSafe for KeyDerivationMethod
impl Send for KeyDerivationMethod
impl Sync for KeyDerivationMethod
impl Unpin for KeyDerivationMethod
impl UnsafeUnpin for KeyDerivationMethod
impl UnwindSafe for KeyDerivationMethod
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