Enum ntex_mqtt::v5::codec::ConnectAckReason
source · #[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
ServerBusy
Banned
BadAuthenticationMethod
TopicNameInvalid
PacketTooLarge
QuotaExceeded
PayloadFormatInvalid
RetainNotSupported
QosNotSupported
UseAnotherServer
ServerMoved
ConnectionRateExceeded
Implementations§
Trait Implementations§
source§impl Clone for ConnectAckReason
impl Clone for ConnectAckReason
source§fn clone(&self) -> ConnectAckReason
fn clone(&self) -> ConnectAckReason
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectAckReason
impl Debug for ConnectAckReason
source§impl From<ConnectAckReason> for u8
impl From<ConnectAckReason> for u8
source§fn from(v: ConnectAckReason) -> Self
fn from(v: ConnectAckReason) -> Self
Converts to this type from the input type.
source§impl PartialEq<ConnectAckReason> for ConnectAckReason
impl PartialEq<ConnectAckReason> for ConnectAckReason
source§fn eq(&self, other: &ConnectAckReason) -> bool
fn eq(&self, other: &ConnectAckReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for ConnectAckReason
impl TryFrom<u8> for ConnectAckReason
impl Copy for ConnectAckReason
impl Eq for ConnectAckReason
impl StructuralEq for ConnectAckReason
impl StructuralPartialEq for ConnectAckReason
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more