Enum zxcvbn::ZxcvbnError
source · pub enum ZxcvbnError {
BlankPassword,
DurationOutOfRange,
}
Expand description
Potential errors that may be returned from zxcvbn
Variants§
BlankPassword
Indicates that a blank password was passed in to zxcvbn
DurationOutOfRange
Indicates an error converting Duration to/from the standard library implementation
Trait Implementations§
source§impl Clone for ZxcvbnError
impl Clone for ZxcvbnError
source§fn clone(&self) -> ZxcvbnError
fn clone(&self) -> ZxcvbnError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ZxcvbnError
impl Debug for ZxcvbnError
source§impl Display for ZxcvbnError
impl Display for ZxcvbnError
source§impl Error for ZxcvbnError
impl Error for ZxcvbnError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()