Enum password_hash::OutputError [−][src]
Password hash function output (i.e. hash/digest) errors.
Variants
B64(B64Error)
"B64" encoding error.
Output too short (min 10-bytes).
Output too long (max 64-bytes).
Trait Implementations
impl Clone for OutputError
[src]
fn clone(&self) -> OutputError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for OutputError
[src]
impl Debug for OutputError
[src]
impl Display for OutputError
[src]
impl Eq for OutputError
[src]
impl From<Error> for OutputError
[src]
fn from(err: B64Error) -> OutputError
[src]
impl From<InvalidLengthError> for OutputError
[src]
fn from(_: InvalidLengthError) -> OutputError
[src]
impl From<OutputError> for HashError
[src]
fn from(err: OutputError) -> HashError
[src]
impl From<OutputError> for HasherError
[src]
fn from(err: OutputError) -> HasherError
[src]
impl PartialEq<OutputError> for OutputError
[src]
fn eq(&self, other: &OutputError) -> bool
[src]
fn ne(&self, other: &OutputError) -> bool
[src]
impl StructuralEq for OutputError
[src]
impl StructuralPartialEq for OutputError
[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>,