Enum sha_crypt::CryptError
source · 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)
Available on crate feature
std
only.I/O error.
StringError(FromUtf8Error)
UTF-8 error.
Trait Implementations§
source§impl Debug for CryptError
impl Debug for CryptError
source§impl From<Error> for CryptError
impl From<Error> for CryptError
source§impl From<FromUtf8Error> for CryptError
impl From<FromUtf8Error> for CryptError
source§fn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.