Enum pwquality::Error [] [src]

pub enum Error {
    FatalFailure,
    Integer,
    CfgfileOpen,
    CfgfileMalformed,
    UnknownSetting,
    NonIntSetting,
    NonStrSetting,
    MemAlloc,
    TooSimilar,
    MinDigits,
    MinUppers,
    MinLowers,
    MinOthers,
    MinLength,
    Palindrome,
    CaseChangesOnly,
    Rotated,
    MinClasses,
    MaxConsecutive,
    EmptyPassword,
    SamePassword,
    CracklibCheck,
    Rng,
    GenerationFailed,
    UserCheck,
    GecosCheck,
    MaxClassRepeat,
    BadWords,
    MaxSequence,
    UnknownError(i32),
}

An error returned by the underlying library. The UnknownError should never be returned unless a new error code is added in pwquality.

Variants

Trait Implementations

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.