pub struct Params {
pub rounds: u32,
pub output_length: usize,
}Expand description
PBKDF2 params
Fields§
§rounds: u32Number of rounds
output_length: usizeSize of the output (in bytes)
Trait Implementations§
Source§impl<'a> TryFrom<&'a PasswordHash<'a>> for Params
impl<'a> TryFrom<&'a PasswordHash<'a>> for Params
Source§impl<'a> TryFrom<Params> for ParamsString
impl<'a> TryFrom<Params> for ParamsString
impl Copy for Params
impl Eq for Params
impl StructuralPartialEq for Params
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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