[−][src]Enum passablewords::PasswordError
The suite of possible errors returned from passablewords. These represent the three checks made
for length, uniqueness, and entropy. If something goes wrong during the request, an
InternalError
error is returned.
Variants
TooShort
The password is less than 8 characters and is therefore too short.
TooCommon
The password is within the list of 1,000,000 most common passwords and should not be used.
TooSimple
The entropy of the password is too low, which means it could be easily guessable/crackable. A more random password should be used instead.
NonAsciiPassword
The password isn't using ascii characters, a requirement that zxcvbn has
InternalError
Something went wrong during the password checks and a normal error couldn't be returned.
Trait Implementations
impl PartialEq<PasswordError> for PasswordError
[src]
fn eq(&self, other: &PasswordError) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Debug for PasswordError
[src]
Auto Trait Implementations
impl Send for PasswordError
impl Sync for PasswordError
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,