Enum password_hash::Error [−][src]
pub enum Error {
Show 16 variants
Algorithm,
B64(B64Error),
Crypto,
OutputTooShort,
OutputTooLong,
ParamNameDuplicated,
ParamNameInvalid,
ParamValueInvalid,
ParamsMaxExceeded,
Password,
PhcStringInvalid,
PhcStringTooShort,
PhcStringTooLong,
SaltTooShort,
SaltTooLong,
Version,
}
Expand description
Password hashing errors.
Variants
Unsupported algorithm.
“B64” encoding error.
Tuple Fields of B64
0: B64Error
Cryptographic error.
Output too short (min 10-bytes).
Output too long (max 64-bytes).
Duplicate parameter name encountered.
Invalid parameter name.
Invalid parameter value.
Maximum number of parameters exceeded.
Invalid password.
Password hash string contains invalid characters.
Password hash string too short.
Password hash string too long.
Salt too short.
Salt too long.
Invalid algorithm version.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more