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
Unsupported algorithm.
B64(B64Error)“B64” encoding error.
Cryptographic error.
Output(OutputError)Error generating output.
Params(ParamsError)Invalid parameter.
Parse(ParseError)Parse error.
Invalid password.
Invalid algorithm version.
Trait Implementations
impl Clone for HasherError[src]
fn clone(&self) -> HasherError[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[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]
fn from(err: B64Error) -> HasherError[src]
impl From<HasherError> for VerifyError[src]
fn from(_: HasherError) -> VerifyError[src]
impl From<InvalidLengthError> for HasherError[src]
fn from(_: InvalidLengthError) -> HasherError[src]
impl From<OutputError> for HasherError[src]
fn from(err: OutputError) -> HasherError[src]
impl From<ParamsError> for HasherError[src]
fn from(err: ParamsError) -> HasherError[src]
impl From<ParseError> for HasherError[src]
fn from(err: ParseError) -> HasherError[src]
impl PartialEq<HasherError> for HasherError[src]
fn eq(&self, other: &HasherError) -> bool[src]
fn ne(&self, other: &HasherError) -> bool[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,