Enum sha_crypt::CryptError [−][src]
pub enum CryptError {
RoundsError,
RandomError,
IoError(Error),
StringError(FromUtf8Error),
}Expand description
Error type.
Variants
RoundsError
Should be within range defs::ROUNDS_MIN < defs::ROUNDS_MIN
RandomError
RNG failed.
IoError(Error)
Tuple Fields
0: ErrorThis is supported on crate feature
std only.I/O error.
StringError(FromUtf8Error)
Tuple Fields
UTF-8 error.
Trait Implementations
Performs the conversion.