pub enum Variant {
Argon2d,
Argon2i,
Argon2id,
}Expand description
Which Argon2 variant to run.
Variants§
Argon2d
Data-dependent indexing throughout.
Argon2i
Data-independent indexing throughout.
Argon2id
Data-independent for the first half-pass, data-dependent thereafter.
Implementations§
Trait Implementations§
impl Copy for Variant
impl Eq for Variant
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Freeze for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnsafeUnpin for Variant
impl UnwindSafe for Variant
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