pub enum PamError {
Show 33 variants SUCCESS, OPEN_ERR, SYMBOL_ERR, SERVICE_ERR, SYSTEM_ERR, BUF_ERR, PERM_DENIED, AUTH_ERR, CRED_INSUFFICIENT, AUTHINFO_UNAVAIL, USER_UNKNOWN, MAXTRIES, NEW_AUTHTOK_REQD, ACCT_EXPIRED, SESSION_ERR, CRED_UNAVAIL, CRED_EXPIRED, CRED_ERR, NO_MODULE_DATA, CONV_ERR, AUTHTOK_ERR, AUTHTOK_RECOVERY_ERR, AUTHTOK_LOCK_BUSY, AUTHTOK_DISABLE_AGING, TRY_AGAIN, IGNORE, ABORT, AUTHTOK_EXPIRED, MODULE_UNKNOWN, BAD_ITEM, CONV_AGAIN, INCOMPLETE, UNKNOWN_RESULT,
}

Variants

SUCCESS

OPEN_ERR

SYMBOL_ERR

SERVICE_ERR

SYSTEM_ERR

BUF_ERR

PERM_DENIED

AUTH_ERR

CRED_INSUFFICIENT

AUTHINFO_UNAVAIL

USER_UNKNOWN

MAXTRIES

NEW_AUTHTOK_REQD

ACCT_EXPIRED

SESSION_ERR

CRED_UNAVAIL

CRED_EXPIRED

CRED_ERR

NO_MODULE_DATA

CONV_ERR

AUTHTOK_ERR

AUTHTOK_RECOVERY_ERR

AUTHTOK_LOCK_BUSY

AUTHTOK_DISABLE_AGING

TRY_AGAIN

IGNORE

ABORT

AUTHTOK_EXPIRED

MODULE_UNKNOWN

BAD_ITEM

CONV_AGAIN

INCOMPLETE

UNKNOWN_RESULT

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.