Enum rsasl::ReturnCode[][src]

#[repr(u32)]
#[non_exhaustive]pub enum ReturnCode {
    GSASL_OK,
    GSASL_NEEDS_MORE,
    GSASL_UNKNOWN_MECHANISM,
    GSASL_MECHANISM_CALLED_TOO_MANY_TIMES,
    GSASL_MALLOC_ERROR,
    GSASL_BASE64_ERROR,
    GSASL_CRYPTO_ERROR,
    GSASL_SASLPREP_ERROR,
    GSASL_MECHANISM_PARSE_ERROR,
    GSASL_AUTHENTICATION_ERROR,
    GSASL_INTEGRITY_ERROR,
    GSASL_NO_CLIENT_CODE,
    GSASL_NO_SERVER_CODE,
    GSASL_NO_CALLBACK,
    GSASL_NO_ANONYMOUS_TOKEN,
    GSASL_NO_AUTHID,
    GSASL_NO_AUTHZID,
    GSASL_NO_PASSWORD,
    GSASL_NO_PASSCODE,
    GSASL_NO_PIN,
    GSASL_NO_SERVICE,
    GSASL_NO_HOSTNAME,
    GSASL_NO_CB_TLS_UNIQUE,
    GSASL_NO_SAML20_IDP_IDENTIFIER,
    GSASL_NO_SAML20_REDIRECT_URL,
    GSASL_NO_OPENID20_REDIRECT_URL,
    GSASL_GSSAPI_RELEASE_BUFFER_ERROR,
    GSASL_GSSAPI_IMPORT_NAME_ERROR,
    GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR,
    GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR,
    GSASL_GSSAPI_UNWRAP_ERROR,
    GSASL_GSSAPI_WRAP_ERROR,
    GSASL_GSSAPI_ACQUIRE_CRED_ERROR,
    GSASL_GSSAPI_DISPLAY_NAME_ERROR,
    GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR,
    GSASL_KERBEROS_V5_INIT_ERROR,
    GSASL_KERBEROS_V5_INTERNAL_ERROR,
    GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE,
    GSASL_SECURID_SERVER_NEED_NEW_PIN,
    GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR,
    GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR,
    GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR,
    GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR,
    GSASL_GSSAPI_RELEASE_OID_SET_ERROR,
}

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GSASL_OK
GSASL_NEEDS_MORE
GSASL_UNKNOWN_MECHANISM
GSASL_MECHANISM_CALLED_TOO_MANY_TIMES
GSASL_MALLOC_ERROR
GSASL_BASE64_ERROR
GSASL_CRYPTO_ERROR
GSASL_SASLPREP_ERROR
GSASL_MECHANISM_PARSE_ERROR
GSASL_AUTHENTICATION_ERROR
GSASL_INTEGRITY_ERROR
GSASL_NO_CLIENT_CODE
GSASL_NO_SERVER_CODE
GSASL_NO_CALLBACK
GSASL_NO_ANONYMOUS_TOKEN
GSASL_NO_AUTHID
GSASL_NO_AUTHZID
GSASL_NO_PASSWORD
GSASL_NO_PASSCODE
GSASL_NO_PIN
GSASL_NO_SERVICE
GSASL_NO_HOSTNAME
GSASL_NO_CB_TLS_UNIQUE
GSASL_NO_SAML20_IDP_IDENTIFIER
GSASL_NO_SAML20_REDIRECT_URL
GSASL_NO_OPENID20_REDIRECT_URL
GSASL_GSSAPI_RELEASE_BUFFER_ERROR
GSASL_GSSAPI_IMPORT_NAME_ERROR
GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR
GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR
GSASL_GSSAPI_UNWRAP_ERROR
GSASL_GSSAPI_WRAP_ERROR
GSASL_GSSAPI_ACQUIRE_CRED_ERROR
GSASL_GSSAPI_DISPLAY_NAME_ERROR
GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR
GSASL_KERBEROS_V5_INIT_ERROR
GSASL_KERBEROS_V5_INTERNAL_ERROR
GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE
GSASL_SECURID_SERVER_NEED_NEW_PIN
GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR
GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR
GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR
GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR
GSASL_GSSAPI_RELEASE_OID_SET_ERROR

Implementations

impl Gsasl_rc[src]

Trait Implementations

impl Clone for Gsasl_rc[src]

impl Copy for Gsasl_rc[src]

impl Debug for Gsasl_rc[src]

impl Eq for Gsasl_rc[src]

impl Hash for Gsasl_rc[src]

impl PartialEq<Gsasl_rc> for Gsasl_rc[src]

impl StructuralEq for Gsasl_rc[src]

impl StructuralPartialEq for Gsasl_rc[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.