Enum pwhash::error::Error
[−]
[src]
pub enum Error { Io(Error), EncodingError, InsufficientLength, InvalidRounds, InvalidHashString, }
Possible errors.
Variants
Io(Error)
The system entropy source couldn't be opened.
EncodingError
Some component of the hash string contains an invalid character.
InsufficientLength
An encoded value is too short.
InvalidRounds
The number of rounds is out of range.
InvalidHashString
The hash string is not in the expected format.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more