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)
This is supported on crate feature std only.

I/O error.

Tuple Fields of IoError

0: Error
StringError(FromUtf8Error)

UTF-8 error.

Tuple Fields of StringError

0: FromUtf8Error

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.