pub struct Argon2Params {
pub m_cost: u32,
pub t_cost: u32,
pub p_cost: u32,
}Expand description
Argon2id cost parameters. Stored per-slot so a slot can be re-derived regardless of the binary’s current defaults.
Fields§
§m_cost: u32§t_cost: u32§p_cost: u32Trait Implementations§
Source§impl Clone for Argon2Params
impl Clone for Argon2Params
Source§fn clone(&self) -> Argon2Params
fn clone(&self) -> Argon2Params
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 moreimpl Copy for Argon2Params
Source§impl Debug for Argon2Params
impl Debug for Argon2Params
Source§impl Default for Argon2Params
impl Default for Argon2Params
impl Eq for Argon2Params
Source§impl PartialEq for Argon2Params
impl PartialEq for Argon2Params
impl StructuralPartialEq for Argon2Params
Auto Trait Implementations§
impl Freeze for Argon2Params
impl RefUnwindSafe for Argon2Params
impl Send for Argon2Params
impl Sync for Argon2Params
impl Unpin for Argon2Params
impl UnsafeUnpin for Argon2Params
impl UnwindSafe for Argon2Params
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