Enum password_hash::Error [−][src]
pub enum Error {}Show variants
Algorithm, B64(B64Error), Crypto, OutputTooShort, OutputTooLong, ParamNameDuplicated, ParamNameInvalid, ParamValueInvalid, ParamsMaxExceeded, Password, PhcStringInvalid, PhcStringTooShort, PhcStringTooLong, SaltTooShort, SaltTooLong, Version,
Password hashing errors.
Variants
Unsupported algorithm.
B64(B64Error)
“B64” encoding error.
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
impl From<InvalidLengthError> for Error
[src]
impl From<InvalidLengthError> for Error
[src]fn from(_: InvalidLengthError) -> Error
[src]
impl StructuralEq for Error
[src]
impl StructuralEq for Error
[src]impl StructuralPartialEq for Error
[src]
impl StructuralPartialEq for Error
[src]Auto Trait Implementations
impl RefUnwindSafe for Error
impl RefUnwindSafe for Error
impl UnwindSafe for Error
impl UnwindSafe for Error