Enum ntex_mqtt::v5::codec::ConnectAckReason [−][src]
#[repr(u8)]
pub enum ConnectAckReason {
Show 22 variants
Success,
UnspecifiedError,
MalformedPacket,
ProtocolError,
ImplementationSpecificError,
UnsupportedProtocolVersion,
ClientIdentifierNotValid,
BadUserNameOrPassword,
NotAuthorized,
ServerUnavailable,
ServerBusy,
Banned,
BadAuthenticationMethod,
TopicNameInvalid,
PacketTooLarge,
QuotaExceeded,
PayloadFormatInvalid,
RetainNotSupported,
QosNotSupported,
UseAnotherServer,
ServerMoved,
ConnectionRateExceeded,
}
Expand description
CONNACK reason codes
Variants
Success
UnspecifiedError
MalformedPacket
ProtocolError
ImplementationSpecificError
UnsupportedProtocolVersion
ClientIdentifierNotValid
BadUserNameOrPassword
NotAuthorized
ServerUnavailable
ServerBusy
Banned
BadAuthenticationMethod
TopicNameInvalid
PacketTooLarge
QuotaExceeded
PayloadFormatInvalid
RetainNotSupported
QosNotSupported
UseAnotherServer
ServerMoved
ConnectionRateExceeded
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ConnectAckReason
impl Send for ConnectAckReason
impl Sync for ConnectAckReason
impl Unpin for ConnectAckReason
impl UnwindSafe for ConnectAckReason
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