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
ConnectionAccepted
Connection accepted
UnacceptableProtocolVersion
Connection Refused, unacceptable protocol version
IdentifierRejected
Connection Refused, identifier rejected
ServiceUnavailable
Connection Refused, Server unavailable
BadUserNameOrPassword
Connection Refused, bad user name or password
NotAuthorized
Connection Refused, not authorized
Reserved
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.
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