#[non_exhaustive]pub enum HashingErrorKind {
Argon2,
Bcrypt,
Scrypt,
Pbkdf2,
PhcEncoder,
}Expand description
Which primitive surfaced a HashingError.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Argon2
argon2 crate.
Bcrypt
bcrypt crate.
Scrypt
scrypt crate.
Pbkdf2
pbkdf2 crate.
PhcEncoder
password_hash PHC encoder.
Trait Implementations§
Source§impl Clone for HashingErrorKind
impl Clone for HashingErrorKind
Source§fn clone(&self) -> HashingErrorKind
fn clone(&self) -> HashingErrorKind
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 moreSource§impl Debug for HashingErrorKind
impl Debug for HashingErrorKind
Source§impl Display for HashingErrorKind
impl Display for HashingErrorKind
Source§impl Hash for HashingErrorKind
impl Hash for HashingErrorKind
Source§impl Ord for HashingErrorKind
impl Ord for HashingErrorKind
Source§fn cmp(&self, other: &HashingErrorKind) -> Ordering
fn cmp(&self, other: &HashingErrorKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HashingErrorKind
impl PartialEq for HashingErrorKind
Source§fn eq(&self, other: &HashingErrorKind) -> bool
fn eq(&self, other: &HashingErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HashingErrorKind
impl PartialOrd for HashingErrorKind
impl Copy for HashingErrorKind
impl Eq for HashingErrorKind
impl StructuralPartialEq for HashingErrorKind
Auto Trait Implementations§
impl Freeze for HashingErrorKind
impl RefUnwindSafe for HashingErrorKind
impl Send for HashingErrorKind
impl Sync for HashingErrorKind
impl Unpin for HashingErrorKind
impl UnsafeUnpin for HashingErrorKind
impl UnwindSafe for HashingErrorKind
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