Enum djangohashers::HasherError [] [src]

pub enum HasherError {
    UnknownAlgorithm,
    EmptyHash,
    InvalidIterations,
    InvalidArgon2Salt,
}

Possible errors during a hash creation.

Variants

Algorithm not recognizable.

Number of iterations is not a positive integer.

Hash string is empty.

Argon2 salt should be Base64 encoded.

Trait Implementations

impl PartialEq for HasherError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for HasherError
[src]

Formats the value using the given formatter.