#[repr(u8)]pub enum ConnectAckReason {
Show 22 variants
Success = 0,
UnspecifiedError = 128,
MalformedPacket = 129,
ProtocolError = 130,
ImplementationSpecificError = 131,
UnsupportedProtocolVersion = 132,
ClientIdentifierNotValid = 133,
BadUserNameOrPassword = 134,
NotAuthorized = 135,
ServerUnavailable = 136,
ServerBusy = 137,
Banned = 138,
BadAuthenticationMethod = 140,
TopicNameInvalid = 144,
PacketTooLarge = 149,
QuotaExceeded = 151,
PayloadFormatInvalid = 153,
RetainNotSupported = 154,
QosNotSupported = 155,
UseAnotherServer = 156,
ServerMoved = 157,
ConnectionRateExceeded = 159,
}
Expand description
CONNACK reason codes
Variants§
Success = 0
UnspecifiedError = 128
MalformedPacket = 129
ProtocolError = 130
ImplementationSpecificError = 131
UnsupportedProtocolVersion = 132
ClientIdentifierNotValid = 133
BadUserNameOrPassword = 134
NotAuthorized = 135
ServerBusy = 137
Banned = 138
BadAuthenticationMethod = 140
TopicNameInvalid = 144
PacketTooLarge = 149
QuotaExceeded = 151
PayloadFormatInvalid = 153
RetainNotSupported = 154
QosNotSupported = 155
UseAnotherServer = 156
ServerMoved = 157
ConnectionRateExceeded = 159
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 for ConnectAckReason
impl PartialEq for ConnectAckReason
source§impl TryFrom<u8> for ConnectAckReason
impl TryFrom<u8> for ConnectAckReason
impl Copy for ConnectAckReason
impl Eq for ConnectAckReason
impl StructuralPartialEq for ConnectAckReason
Auto Trait Implementations§
impl Freeze for ConnectAckReason
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)