Enum bcrypt::BcryptError [] [src]

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

All the errors we can encounter while hashing/verifying passwords

Variants

Io(Error)InvalidCostInvalidPrefix

Trait Implementations

impl Debug for BcryptError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for BcryptError
[src]

fn from(f: Error) -> BcryptError

Performs the conversion.