Enum password_hash::OutputError[][src]

pub enum OutputError {
    B64(B64Error),
    TooShort,
    TooLong,
}

Password hash function output (i.e. hash/digest) errors.

Variants

"B64" encoding error.

TooShort

Output too short (min 10-bytes).

TooLong

Output too long (max 64-bytes).

Trait Implementations

impl Clone for OutputError[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]

impl From<InvalidLengthError> for OutputError[src]

impl From<OutputError> for HashError[src]

impl From<OutputError> for HasherError[src]

impl PartialEq<OutputError> for OutputError[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]

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.