Enum bcrypt::BcryptError
[−]
[src]
pub enum BcryptError { Io(Error), InvalidCost(u32), InvalidPrefix(String), }
All the errors we can encounter while hashing/verifying passwords
Variants
Io(Error)
InvalidCost(u32)
InvalidPrefix(String)
Trait Implementations
impl Debug for BcryptError
[src]
impl From<Error> for BcryptError
[src]
fn from(f: Error) -> BcryptError
[src]
Performs the conversion.
impl Display for BcryptError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more