#[repr(u8)]pub enum SubAckReasonCode {
QoS0 = 0,
QoS1 = 1,
QoS2 = 2,
UnspecifiedError = 128,
ImplementationSpecificError = 131,
NotAuthorized = 135,
TopicFilterInvalid = 143,
PacketIdentifierInUse = 145,
QuotaExceeded = 151,
SharedSubscriptionsNotSupported = 158,
SubscriptionIdentifiersNotSupported = 161,
WildcardSubscriptionsNotSupported = 162,
}
Expand description
Variants§
QoS0 = 0
Granted QoS 0
The subscription is accepted and the maximum QoS sent will be QoS 0. This might be a lower QoS than was requested.
QoS1 = 1
Granted QoS 1
The subscription is accepted and the maximum QoS sent will be QoS 1. This might be a lower QoS than was requested.
QoS2 = 2
Granted QoS 2
The subscription is accepted and any received QoS will be sent to this subscription.
UnspecifiedError = 128
Unspecified error
The subscription is not accepted and the Server either does not wish to reveal the reason or none of the other Reason Codes apply.
ImplementationSpecificError = 131
Implementation specific error
The SUBSCRIBE is valid but the Server does not accept it.
NotAuthorized = 135
Not authorized
The Client is not authorized to make this subscription.
TopicFilterInvalid = 143
Topic Filter invalid
The Topic Filter is correctly formed but is not allowed for this Client.
PacketIdentifierInUse = 145
Packet Identifier in use
The specified Packet Identifier is already in use.
QuotaExceeded = 151
Quota exceeded
An implementation or administrative imposed limit has been exceeded.
Shared Subscriptions not supported
The Server does not support Shared Subscriptions for this Client.
SubscriptionIdentifiersNotSupported = 161
Subscription Identifiers not supported
The Server does not support Subscription Identifiers; the subscription is not accepted.
WildcardSubscriptionsNotSupported = 162
Wildcard Subscriptions not supported
The Server does not support Wildcard Subscriptions; the subscription is not accepted.
Trait Implementations§
Source§impl Clone for SubAckReasonCode
impl Clone for SubAckReasonCode
Source§fn clone(&self) -> SubAckReasonCode
fn clone(&self) -> SubAckReasonCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more