Enum djangohashers::HasherError [] [src]

pub enum HasherError {
    UnknownAlgorithm,
    EmptyHash,
    InvalidIterations,
}

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.

Trait Implementations

impl Debug for HasherError
[src]

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

Formats the value using the given formatter.

impl PartialEq for HasherError
[src]

fn eq(&self, __arg_0: &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

This method tests for !=.