Enum ntex_mqtt::v5::codec::DisconnectReasonCode [−][src]
#[repr(u8)]
pub enum DisconnectReasonCode {
Show 30 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,
}
Expand description
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DisconnectReasonCode
impl Send for DisconnectReasonCode
impl Sync for DisconnectReasonCode
impl Unpin for DisconnectReasonCode
impl UnwindSafe for DisconnectReasonCode
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more