[][src]Enum xmpp_parsers::sasl::DefinedCondition

pub enum DefinedCondition {
    Aborted,
    AccountDisabled,
    CredentialsExpired,
    EncryptionRequired,
    IncorrectEncoding,
    InvalidAuthzid,
    InvalidMechanism,
    MalformedRequest,
    MechanismTooWeak,
    NotAuthorized,
    TemporaryAuthFailure,
}

List of possible failure conditions for SASL.

Variants

Aborted

The client aborted the authentication with abort.

AccountDisabled

The account the client is trying to authenticate against has been disabled.

CredentialsExpired

The credentials for this account have expired.

EncryptionRequired

You must enable StartTLS or use direct TLS before using this authentication mechanism.

IncorrectEncoding

The base64 data sent by the client is invalid.

InvalidAuthzid

The authzid provided by the client is invalid.

InvalidMechanism

The client tried to use an invalid mechanism, or none.

MalformedRequest

The client sent a bad request.

MechanismTooWeak

The mechanism selected is weaker than what the server allows.

NotAuthorized

The credentials provided are invalid.

TemporaryAuthFailure

The server encountered an issue which may be fixed later, the client should retry at some point.

Trait Implementations

impl Clone for DefinedCondition[src]

impl Debug for DefinedCondition[src]

impl From<DefinedCondition> for Element[src]

impl PartialEq<DefinedCondition> for DefinedCondition[src]

impl StructuralPartialEq for DefinedCondition[src]

impl TryFrom<Element> for DefinedCondition[src]

type Error = Error

The type returned in the event of a conversion error.

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> Same<T> for T

type Output = T

Should always be Self

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.