Enum sarkara::pwhash::KeyDerivationFail [] [src]

pub enum KeyDerivationFail {
    ParameterError(String),
    OutLenTooShort,
    OutLenTooLong,
    SaltTooShort,
    SaltTooLong,
}

Key derivation error.

Variants

parameter error.

Output length too short.

Output length too long.

Salt too short.

Salt too long.

Trait Implementations

impl From<ParamErr> for KeyDerivationFail
[src]

Performs the conversion.

impl Clone for KeyDerivationFail
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for KeyDerivationFail
[src]

Formats the value using the given formatter.

impl Display for KeyDerivationFail
[src]

Formats the value using the given formatter.

impl Error for KeyDerivationFail
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more