pub struct Argon2idStretchParams {
pub params: Argon2Params,
pub out_len: usize,
}Expand description
Parameters for the Argon2id stretching backend.
Fields§
§params: Argon2ParamsArgon2 cost parameters (m_cost, t_cost, p_cost).
out_len: usizeDerived-key length in bytes (1..=64, per the Argon2 spec).
Trait Implementations§
Source§impl Clone for Argon2idStretchParams
impl Clone for Argon2idStretchParams
Source§fn clone(&self) -> Argon2idStretchParams
fn clone(&self) -> Argon2idStretchParams
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 Argon2idStretchParams
Auto Trait Implementations§
impl Freeze for Argon2idStretchParams
impl RefUnwindSafe for Argon2idStretchParams
impl Send for Argon2idStretchParams
impl Sync for Argon2idStretchParams
impl Unpin for Argon2idStretchParams
impl UnsafeUnpin for Argon2idStretchParams
impl UnwindSafe for Argon2idStretchParams
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