pub enum PasswordHashAlgorithm {
Argon2i13 = 1,
Argon2id13 = 2,
}Available on crate feature
alloc only.Expand description
Password hash algorithm implementations.
Variants§
Trait Implementations§
Source§impl Clone for PasswordHashAlgorithm
impl Clone for PasswordHashAlgorithm
impl Copy for PasswordHashAlgorithm
Source§impl Debug for PasswordHashAlgorithm
impl Debug for PasswordHashAlgorithm
Source§impl<'de> Deserialize<'de> for PasswordHashAlgorithm
impl<'de> Deserialize<'de> for PasswordHashAlgorithm
Source§fn 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
impl Eq for PasswordHashAlgorithm
Source§impl PartialEq for PasswordHashAlgorithm
impl PartialEq for PasswordHashAlgorithm
Source§impl Serialize for PasswordHashAlgorithm
impl Serialize for PasswordHashAlgorithm
impl StructuralPartialEq for PasswordHashAlgorithm
Source§impl TryFrom<u32> for PasswordHashAlgorithm
impl TryFrom<u32> for PasswordHashAlgorithm
Auto Trait Implementations§
impl Freeze for PasswordHashAlgorithm
impl RefUnwindSafe for PasswordHashAlgorithm
impl Send for PasswordHashAlgorithm
impl Sync for PasswordHashAlgorithm
impl Unpin for PasswordHashAlgorithm
impl UnsafeUnpin for PasswordHashAlgorithm
impl UnwindSafe for PasswordHashAlgorithm
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