[][src]Enum ntex_mqtt::v5::codec::DisconnectReasonCode

#[repr(u8)]pub enum DisconnectReasonCode {
    NormalDisconnection,
    DisconnectWithWillMessage,
    UnspecifiedError,
    MalformedPacket,
    ProtocolError,
    ImplementationSpecificError,
    NotAuthorized,
    ServerBusy,
    ServerShuttingDown,
    BadAuthenticationMethod,
    KeepAliveTimeout,
    SessionTakenOver,
    TopicFilterInvalid,
    TopicNameInvalid,
    ReceiveMaximumExceeded,
    TopicAliasInvalid,
    PacketTooLarge,
    MessageRateTooHigh,
    QuotaExceeded,
    AdministrativeAction,
    PayloadFormatInvalid,
    RetainNotSupported,
    QosNotSupported,
    UseAnotherServer,
    ServerMoved,
    SharedSubsriptionNotSupported,
    ConnectionRateExceeded,
    MaximumConnectTime,
    SubscriptionIdentifiersNotSupported,
    WildcardSubscriptionsNotSupported,
}

DISCONNECT reason codes

Variants

NormalDisconnection
DisconnectWithWillMessage
UnspecifiedError
MalformedPacket
ProtocolError
ImplementationSpecificError
NotAuthorized
ServerBusy
ServerShuttingDown
BadAuthenticationMethod
KeepAliveTimeout
SessionTakenOver
TopicFilterInvalid
TopicNameInvalid
ReceiveMaximumExceeded
TopicAliasInvalid
PacketTooLarge
MessageRateTooHigh
QuotaExceeded
AdministrativeAction
PayloadFormatInvalid
RetainNotSupported
QosNotSupported
UseAnotherServer
ServerMoved
SharedSubsriptionNotSupported
ConnectionRateExceeded
MaximumConnectTime
SubscriptionIdentifiersNotSupported
WildcardSubscriptionsNotSupported

Trait Implementations

impl Clone for DisconnectReasonCode[src]

impl Copy for DisconnectReasonCode[src]

impl Debug for DisconnectReasonCode[src]

impl Eq for DisconnectReasonCode[src]

impl From<DisconnectReasonCode> for u8[src]

impl PartialEq<DisconnectReasonCode> for DisconnectReasonCode[src]

impl StructuralEq for DisconnectReasonCode[src]

impl StructuralPartialEq for DisconnectReasonCode[src]

impl TryFrom<u8> for DisconnectReasonCode[src]

type Error = DecodeError

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> Sealed<T> for T where
    T: ?Sized

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.

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