Enum djangohashers::HasherError [−][src]
pub enum HasherError { UnknownAlgorithm, EmptyHash, InvalidIterations, InvalidArgon2Salt, }
Possible errors during a hash creation.
Variants
UnknownAlgorithm
Algorithm not recognizable.
EmptyHash
Number of iterations is not a positive integer.
InvalidIterations
Hash string is empty.
InvalidArgon2Salt
Argon2 salt should be Base64 encoded.
Trait Implementations
impl PartialEq for HasherError
[src]
impl PartialEq for HasherError
fn eq(&self, other: &HasherError) -> bool
[src]
fn eq(&self, other: &HasherError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for HasherError
[src]
impl Debug for HasherError
Auto Trait Implementations
impl Send for HasherError
impl Send for HasherError
impl Sync for HasherError
impl Sync for HasherError