Struct ErrorCode

Source
pub struct ErrorCode(pub i32);

Tuple Fields§

§0: i32

Implementations§

Source§

impl ErrorCode

Source

pub const KDC_ERR_NONE: ErrorCode

Source

pub const KDC_ERR_NAME_EXP: ErrorCode

Source

pub const KDC_ERR_SERVICE_EXP: ErrorCode

Source

pub const KDC_ERR_BAD_PVNO: ErrorCode

Source

pub const KDC_ERR_C_OLD_MAST_KVNO: ErrorCode

Source

pub const KDC_ERR_S_OLD_MAST_KVNO: ErrorCode

Source

pub const KDC_ERR_C_PRINCIPAL_UNKNOWN: ErrorCode

Source

pub const KDC_ERR_S_PRINCIPAL_UNKNOWN: ErrorCode

Source

pub const KDC_ERR_PRINCIPAL_NOT_UNIQUE: ErrorCode

Source

pub const KDC_ERR_NULL_KEY: ErrorCode

Source

pub const KDC_ERR_CANNOT_POSTDATE: ErrorCode

Source

pub const KDC_ERR_NEVER_VALID: ErrorCode

Source

pub const KDC_ERR_POLICY: ErrorCode

Source

pub const KDC_ERR_BADOPTION: ErrorCode

Source

pub const KDC_ERR_ETYPE_NOSUPP: ErrorCode

Source

pub const KDC_ERR_SUMTYPE_NOSUPP: ErrorCode

Source

pub const KDC_ERR_PADATA_TYPE_NOSUPP: ErrorCode

Source

pub const KDC_ERR_TRTYPE_NOSUPP: ErrorCode

Source

pub const KDC_ERR_CLIENT_REVOKED: ErrorCode

Source

pub const KDC_ERR_SERVICE_REVOKED: ErrorCode

Source

pub const KDC_ERR_TGT_REVOKED: ErrorCode

Source

pub const KDC_ERR_CLIENT_NOTYET: ErrorCode

Source

pub const KDC_ERR_SERVICE_NOTYET: ErrorCode

Source

pub const KDC_ERR_KEY_EXPIRED: ErrorCode

Source

pub const KDC_ERR_PREAUTH_FAILED: ErrorCode

Source

pub const KDC_ERR_PREAUTH_REQUIRED: ErrorCode

Source

pub const KDC_ERR_SERVER_NOMATCH: ErrorCode

Source

pub const KDC_ERR_MUST_USE_USER2USER: ErrorCode

Source

pub const KDC_ERR_PATH_NOT_ACCEPTED: ErrorCode

Source

pub const KDC_ERR_SVC_UNAVAILABLE: ErrorCode

Source

pub const KRB_AP_ERR_BAD_INTEGRITY: ErrorCode

Source

pub const KRB_AP_ERR_TKT_EXPIRED: ErrorCode

Source

pub const KRB_AP_ERR_TKT_NYV: ErrorCode

Source

pub const KRB_AP_ERR_REPEAT: ErrorCode

Source

pub const KRB_AP_ERR_NOT_US: ErrorCode

Source

pub const KRB_AP_ERR_BADMATCH: ErrorCode

Source

pub const KRB_AP_ERR_SKEW: ErrorCode

Source

pub const KRB_AP_ERR_BADADDR: ErrorCode

Source

pub const KRB_AP_ERR_BADVERSION: ErrorCode

Source

pub const KRB_AP_ERR_MSG_TYPE: ErrorCode

Source

pub const KRB_AP_ERR_MODIFIED: ErrorCode

Source

pub const KRB_AP_ERR_BADORDER: ErrorCode

Source

pub const KRB_AP_ERR_BADKEYVER: ErrorCode

Source

pub const KRB_AP_ERR_NOKEY: ErrorCode

Source

pub const KRB_AP_ERR_MUT_FAIL: ErrorCode

Source

pub const KRB_AP_ERR_BADDIRECTION: ErrorCode

Source

pub const KRB_AP_ERR_METHOD: ErrorCode

Source

pub const KRB_AP_ERR_BADSEQ: ErrorCode

Source

pub const KRB_AP_ERR_INAPP_CKSUM: ErrorCode

Source

pub const KRB_AP_PATH_NOT_ACCEPTED: ErrorCode

Source

pub const KRB_ERR_RESPONSE_TOO_BIG: ErrorCode

Source

pub const KRB_ERR_GENERIC: ErrorCode

Source

pub const KRB_ERR_FIELD_TOOLONG: ErrorCode

Source

pub const KDC_ERROR_CLIENT_NOT_TRUSTED: ErrorCode

Source

pub const KDC_ERROR_KDC_NOT_TRUSTED: ErrorCode

Source

pub const KDC_ERROR_INVALID_SIG: ErrorCode

Source

pub const KDC_ERR_KEY_TOO_WEAK: ErrorCode

Source

pub const KDC_ERR_CERTIFICATE_MISMATCH: ErrorCode

Source

pub const KRB_AP_ERR_NO_TGT: ErrorCode

Source

pub const KDC_ERR_WRONG_REALM: ErrorCode

Source

pub const KRB_AP_ERR_USER_TO_USER_REQUIRED: ErrorCode

Source

pub const KDC_ERR_CANT_VERIFY_CERTIFICATE: ErrorCode

Source

pub const KDC_ERR_INVALID_CERTIFICATE: ErrorCode

Source

pub const KDC_ERR_REVOKED_CERTIFICATE: ErrorCode

Source

pub const KDC_ERR_REVOCATION_STATUS_UNKNOWN: ErrorCode

Source

pub const KDC_ERR_REVOCATION_STATUS_UNAVAILABLE: ErrorCode

Source

pub const KDC_ERR_CLIENT_NAME_MISMATCH: ErrorCode

Source

pub const KDC_ERR_KDC_NAME_MISMATCH: ErrorCode

Trait Implementations§

Source§

impl Clone for ErrorCode

Source§

fn clone(&self) -> ErrorCode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ErrorCode

Source§

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

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

impl PartialEq for ErrorCode

Source§

fn eq(&self, other: &ErrorCode) -> 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 Copy for ErrorCode

Source§

impl Eq for ErrorCode

Source§

impl StructuralPartialEq for ErrorCode

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
Source§

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

Source§

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

Source§

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

Source§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.