pub enum ReasonCode {
Show 51 variants
Success = 0,
GrantedQoS1 = 1,
GrantedQoS2 = 2,
DisconnectWithWillMessage = 4,
NoMatchingSubscribers = 16,
NoSubscriptionExisted = 17,
ContinueAuthentication = 24,
ReAuthenticate = 25,
UnspecifiedError = 128,
MalformedPacket = 129,
ProtocolError = 130,
ImplementationSpecificError = 131,
UnsupportedProtocolVersion = 132,
ClientIdentifierNotValid = 133,
BadUsernameOrPassword = 134,
NotAuthorized = 135,
ServerUnavailable = 136,
ServerBusy = 137,
Banned = 138,
ServerShuttingDown = 139,
BadAuthenticationMethod = 140,
KeepAliveTimeout = 141,
SessionTakenOver = 142,
TopicFilterInvalid = 143,
TopicNameInvalid = 144,
PacketIdentifierInUse = 145,
PacketIdentifierNotFound = 146,
ReceiveMaximumExceeded = 147,
TopicAliasInvalid = 148,
PacketTooLarge = 149,
MessageRateTooHigh = 150,
QuotaExceeded = 151,
AdministrativeAction = 152,
PayloadFormatInvalid = 153,
RetainNotSupported = 154,
QoSNotSupported = 155,
UseAnotherServer = 156,
ServerMoved = 157,
SharedSubscriptionsNotSupported = 158,
ConnectionRateExceeded = 159,
MaximumConnectTime = 160,
SubscriptionIdentifiersNotSupported = 161,
WildcardSubscriptionsNotSupported = 162,
MqoqNoFlowState = 179,
MqoqProtocolError = 180,
MqoqStreamTypeError = 181,
MqoqBadFlowId = 182,
MqoqPersistentSubError = 184,
MqoqIncompletePacket = 186,
MqoqFlowOpenIdle = 187,
MqoqFlowCancelled = 188,
}Variants§
Success = 0
GrantedQoS1 = 1
GrantedQoS2 = 2
DisconnectWithWillMessage = 4
NoMatchingSubscribers = 16
NoSubscriptionExisted = 17
ContinueAuthentication = 24
ReAuthenticate = 25
UnspecifiedError = 128
MalformedPacket = 129
ProtocolError = 130
ImplementationSpecificError = 131
UnsupportedProtocolVersion = 132
ClientIdentifierNotValid = 133
BadUsernameOrPassword = 134
NotAuthorized = 135
ServerBusy = 137
Banned = 138
ServerShuttingDown = 139
BadAuthenticationMethod = 140
KeepAliveTimeout = 141
SessionTakenOver = 142
TopicFilterInvalid = 143
TopicNameInvalid = 144
PacketIdentifierInUse = 145
PacketIdentifierNotFound = 146
ReceiveMaximumExceeded = 147
TopicAliasInvalid = 148
PacketTooLarge = 149
MessageRateTooHigh = 150
QuotaExceeded = 151
AdministrativeAction = 152
PayloadFormatInvalid = 153
RetainNotSupported = 154
QoSNotSupported = 155
UseAnotherServer = 156
ServerMoved = 157
ConnectionRateExceeded = 159
MaximumConnectTime = 160
SubscriptionIdentifiersNotSupported = 161
WildcardSubscriptionsNotSupported = 162
MqoqNoFlowState = 179
MqoqProtocolError = 180
MqoqStreamTypeError = 181
MqoqBadFlowId = 182
MqoqPersistentSubError = 184
MqoqIncompletePacket = 186
MqoqFlowOpenIdle = 187
MqoqFlowCancelled = 188
Implementations§
Source§impl ReasonCode
impl ReasonCode
Trait Implementations§
Source§impl Clone for ReasonCode
impl Clone for ReasonCode
Source§fn clone(&self) -> ReasonCode
fn clone(&self) -> ReasonCode
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 ReasonCode
impl Debug for ReasonCode
Source§impl From<ReasonCode> for u8
impl From<ReasonCode> for u8
Source§fn from(code: ReasonCode) -> Self
fn from(code: ReasonCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReasonCode
impl PartialEq for ReasonCode
impl Copy for ReasonCode
impl Eq for ReasonCode
impl StructuralPartialEq for ReasonCode
Auto Trait Implementations§
impl Freeze for ReasonCode
impl RefUnwindSafe for ReasonCode
impl Send for ReasonCode
impl Sync for ReasonCode
impl Unpin for ReasonCode
impl UnwindSafe for ReasonCode
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