Enum mqtt_bytes_v5::PubRecReason
source · #[repr(u8)]pub enum PubRecReason {
Success = 0,
NoMatchingSubscribers = 1,
UnspecifiedError = 2,
ImplementationSpecificError = 3,
NotAuthorized = 4,
TopicNameInvalid = 5,
PacketIdentifierInUse = 6,
QuotaExceeded = 7,
PayloadFormatInvalid = 8,
}Expand description
Return code in PubRec
Variants§
Success = 0
NoMatchingSubscribers = 1
UnspecifiedError = 2
ImplementationSpecificError = 3
NotAuthorized = 4
TopicNameInvalid = 5
PacketIdentifierInUse = 6
QuotaExceeded = 7
PayloadFormatInvalid = 8
Trait Implementations§
source§impl Clone for PubRecReason
impl Clone for PubRecReason
source§fn clone(&self) -> PubRecReason
fn clone(&self) -> PubRecReason
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 PubRecReason
impl Debug for PubRecReason
source§impl PartialEq for PubRecReason
impl PartialEq for PubRecReason
source§fn eq(&self, other: &PubRecReason) -> bool
fn eq(&self, other: &PubRecReason) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PubRecReason
impl Eq for PubRecReason
impl StructuralPartialEq for PubRecReason
Auto Trait Implementations§
impl Freeze for PubRecReason
impl RefUnwindSafe for PubRecReason
impl Send for PubRecReason
impl Sync for PubRecReason
impl Unpin for PubRecReason
impl UnwindSafe for PubRecReason
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