pub enum DisconnReasonCode {
Show 14 variants
NormalDisconnect = 0,
DisconnectWillMessage = 4,
UnspecifiedError = 128,
MalformedPacket = 129,
ProtocolError = 130,
ImplementationError = 131,
TopicNameInvalid = 144,
ExceededReceiveMaximum = 147,
TopicAliasInvalid = 148,
PacketTooLarge = 149,
ExceedMessageRate = 150,
QuotaExceeded = 151,
AdminAction = 152,
PayloadFormatInvalid = 153,
}Variants§
NormalDisconnect = 0
DisconnectWillMessage = 4
UnspecifiedError = 128
MalformedPacket = 129
ProtocolError = 130
ImplementationError = 131
TopicNameInvalid = 144
ExceededReceiveMaximum = 147
TopicAliasInvalid = 148
PacketTooLarge = 149
ExceedMessageRate = 150
QuotaExceeded = 151
AdminAction = 152
PayloadFormatInvalid = 153
Trait Implementations§
Source§impl Clone for DisconnReasonCode
impl Clone for DisconnReasonCode
Source§fn clone(&self) -> DisconnReasonCode
fn clone(&self) -> DisconnReasonCode
Returns a duplicate 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 DisconnReasonCode
impl Debug for DisconnReasonCode
Source§impl From<DisconnReasonCode> for u8
impl From<DisconnReasonCode> for u8
Source§fn from(val: DisconnReasonCode) -> u8
fn from(val: DisconnReasonCode) -> u8
Converts to this type from the input type.
Source§impl PartialEq for DisconnReasonCode
impl PartialEq for DisconnReasonCode
Source§impl TryFrom<u8> for DisconnReasonCode
impl TryFrom<u8> for DisconnReasonCode
impl Copy for DisconnReasonCode
impl Eq for DisconnReasonCode
impl StructuralPartialEq for DisconnReasonCode
Auto Trait Implementations§
impl Freeze for DisconnReasonCode
impl RefUnwindSafe for DisconnReasonCode
impl Send for DisconnReasonCode
impl Sync for DisconnReasonCode
impl Unpin for DisconnReasonCode
impl UnwindSafe for DisconnReasonCode
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