pam_kanidm::constants

Enum PamResultCode

source
#[repr(C)]
pub enum PamResultCode {
Show 32 variants PAM_SUCCESS = 0, PAM_OPEN_ERR = 1, PAM_SYMBOL_ERR = 2, PAM_SERVICE_ERR = 3, PAM_SYSTEM_ERR = 4, PAM_BUF_ERR = 5, PAM_PERM_DENIED = 6, PAM_AUTH_ERR = 7, PAM_CRED_INSUFFICIENT = 8, PAM_AUTHINFO_UNAVAIL = 9, PAM_USER_UNKNOWN = 10, PAM_MAXTRIES = 11, PAM_NEW_AUTHTOK_REQD = 12, PAM_ACCT_EXPIRED = 13, PAM_SESSION_ERR = 14, PAM_CRED_UNAVAIL = 15, PAM_CRED_EXPIRED = 16, PAM_CRED_ERR = 17, PAM_NO_MODULE_DATA = 18, PAM_CONV_ERR = 19, PAM_AUTHTOK_ERR = 20, PAM_AUTHTOK_RECOVERY_ERR = 21, PAM_AUTHTOK_LOCK_BUSY = 22, PAM_AUTHTOK_DISABLE_AGING = 23, PAM_TRY_AGAIN = 24, PAM_IGNORE = 25, PAM_ABORT = 26, PAM_AUTHTOK_EXPIRED = 27, PAM_MODULE_UNKNOWN = 28, PAM_BAD_ITEM = 29, PAM_CONV_AGAIN = 30, PAM_INCOMPLETE = 31,
}

Variants§

§

PAM_SUCCESS = 0

§

PAM_OPEN_ERR = 1

§

PAM_SYMBOL_ERR = 2

§

PAM_SERVICE_ERR = 3

§

PAM_SYSTEM_ERR = 4

§

PAM_BUF_ERR = 5

§

PAM_PERM_DENIED = 6

§

PAM_AUTH_ERR = 7

§

PAM_CRED_INSUFFICIENT = 8

§

PAM_AUTHINFO_UNAVAIL = 9

§

PAM_USER_UNKNOWN = 10

§

PAM_MAXTRIES = 11

§

PAM_NEW_AUTHTOK_REQD = 12

§

PAM_ACCT_EXPIRED = 13

§

PAM_SESSION_ERR = 14

§

PAM_CRED_UNAVAIL = 15

§

PAM_CRED_EXPIRED = 16

§

PAM_CRED_ERR = 17

§

PAM_NO_MODULE_DATA = 18

§

PAM_CONV_ERR = 19

§

PAM_AUTHTOK_ERR = 20

§

PAM_AUTHTOK_RECOVERY_ERR = 21

§

PAM_AUTHTOK_LOCK_BUSY = 22

§

PAM_AUTHTOK_DISABLE_AGING = 23

§

PAM_TRY_AGAIN = 24

§

PAM_IGNORE = 25

§

PAM_ABORT = 26

§

PAM_AUTHTOK_EXPIRED = 27

§

PAM_MODULE_UNKNOWN = 28

§

PAM_BAD_ITEM = 29

§

PAM_CONV_AGAIN = 30

§

PAM_INCOMPLETE = 31

Trait Implementations§

source§

impl Debug for PamResultCode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for PamResultCode

source§

fn eq(&self, other: &PamResultCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for PamResultCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T