Enum ntex_mqtt::v5::codec::SubscribeAckReason
source · #[repr(u8)]
pub enum SubscribeAckReason {
GrantedQos0,
GrantedQos1,
GrantedQos2,
UnspecifiedError,
ImplementationSpecificError,
NotAuthorized,
TopicFilterInvalid,
PacketIdentifierInUse,
QuotaExceeded,
SharedSubscriptionNotSupported,
SubscriptionIdentifiersNotSupported,
WildcardSubscriptionsNotSupported,
}
Expand description
SUBACK reason codes
Variants§
GrantedQos0
GrantedQos1
GrantedQos2
UnspecifiedError
ImplementationSpecificError
NotAuthorized
TopicFilterInvalid
PacketIdentifierInUse
QuotaExceeded
SubscriptionIdentifiersNotSupported
WildcardSubscriptionsNotSupported
Trait Implementations§
source§impl Clone for SubscribeAckReason
impl Clone for SubscribeAckReason
source§fn clone(&self) -> SubscribeAckReason
fn clone(&self) -> SubscribeAckReason
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 SubscribeAckReason
impl Debug for SubscribeAckReason
source§impl From<SubscribeAckReason> for u8
impl From<SubscribeAckReason> for u8
source§fn from(v: SubscribeAckReason) -> Self
fn from(v: SubscribeAckReason) -> Self
Converts to this type from the input type.
source§impl PartialEq<SubscribeAckReason> for SubscribeAckReason
impl PartialEq<SubscribeAckReason> for SubscribeAckReason
source§fn eq(&self, other: &SubscribeAckReason) -> bool
fn eq(&self, other: &SubscribeAckReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.