Enum dryoc::classic::crypto_pwhash::PasswordHashAlgorithm
source · pub enum PasswordHashAlgorithm {
Argon2i13,
Argon2id13,
}
Expand description
Password hash algorithm implementations.
Variants
Argon2i13
Argon2i version 0x13 (v19)
Argon2id13
Argon2id version 0x13 (v19)
Trait Implementations
sourceimpl Clone for PasswordHashAlgorithm
impl Clone for PasswordHashAlgorithm
sourcefn clone(&self) -> PasswordHashAlgorithm
fn clone(&self) -> PasswordHashAlgorithm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PasswordHashAlgorithm
impl Debug for PasswordHashAlgorithm
sourceimpl<'de> Deserialize<'de> for PasswordHashAlgorithm
impl<'de> Deserialize<'de> for PasswordHashAlgorithm
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<u32> for PasswordHashAlgorithm
impl From<u32> for PasswordHashAlgorithm
sourceimpl Serialize for PasswordHashAlgorithm
impl Serialize for PasswordHashAlgorithm
Auto Trait Implementations
impl RefUnwindSafe for PasswordHashAlgorithm
impl Send for PasswordHashAlgorithm
impl Sync for PasswordHashAlgorithm
impl Unpin for PasswordHashAlgorithm
impl UnwindSafe for PasswordHashAlgorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more