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