Enum password_hash::HasherError[][src]

pub enum HasherError {
    Algorithm,
    B64(B64Error),
    Crypto,
    Output(OutputError),
    Params(ParamsError),
    Parse(ParseError),
    Password,
    Version,
}

Errors generating password hashes using a [PasswordHasher].

Variants

Algorithm

Unsupported algorithm.

"B64" encoding error.

Crypto

Cryptographic error.

Output(OutputError)

Error generating output.

Params(ParamsError)

Invalid parameter.

Parse(ParseError)

Parse error.

Password

Invalid password.

Version

Invalid algorithm version.

Trait Implementations

impl Clone for HasherError[src]

impl Copy for HasherError[src]

impl Debug for HasherError[src]

impl Display for HasherError[src]

impl Eq for HasherError[src]

impl From<Error> for HasherError[src]

impl From<HasherError> for VerifyError[src]

impl From<InvalidLengthError> for HasherError[src]

impl From<OutputError> for HasherError[src]

impl From<ParamsError> for HasherError[src]

impl From<ParseError> for HasherError[src]

impl PartialEq<HasherError> for HasherError[src]

impl StructuralEq for HasherError[src]

impl StructuralPartialEq for HasherError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.