Enum ntex_mqtt::v3::codec::ConnectAckReason [−][src]
#[repr(u8)]
pub enum ConnectAckReason {
ConnectionAccepted,
UnacceptableProtocolVersion,
IdentifierRejected,
ServiceUnavailable,
BadUserNameOrPassword,
NotAuthorized,
Reserved,
}
Expand description
Connect Return Code
Variants
Connection accepted
Connection Refused, unacceptable protocol version
Connection Refused, identifier rejected
Connection Refused, Server unavailable
Connection Refused, bad user name or password
Connection Refused, not authorized
Reserved
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.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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