Enum bcrypt::BcryptError [] [src]

pub enum BcryptError {
    Io(Error),
    InvalidCost(u32),
    InvalidPrefix(String),
}

All the errors we can encounter while hashing/verifying passwords

Variants

Trait Implementations

impl Debug for BcryptError
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for BcryptError
[src]

[src]

Performs the conversion.

impl Display for BcryptError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for BcryptError
[src]

[src]

A short description of the error. Read more

[src]

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