Enum pwhash::error::Error [] [src]

pub enum Error {
    Io(Error),
    EncodingError,
    InsufficientLength,
    InvalidRounds,
    InvalidHashString,
}

Possible errors.

Variants

The system entropy source couldn't be opened.

Some component of the hash string contains an invalid character.

An encoded value is too short.

The number of rounds is out of range.

The hash string is not in the expected format.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for Error
[src]

Performs the conversion.