#[repr(u8)]pub enum PubRecReason {
Success = 0,
NoMatchingSubscribers = 16,
UnspecifiedError = 128,
ImplementationSpecificError = 131,
NotAuthorized = 135,
TopicNameInvalid = 144,
PacketIdentifierInUse = 145,
QuotaExceeded = 151,
PayloadFormatInvalid = 153,
}Expand description
Return code in PubRec
Variants§
Success = 0
NoMatchingSubscribers = 16
UnspecifiedError = 128
ImplementationSpecificError = 131
NotAuthorized = 135
TopicNameInvalid = 144
PacketIdentifierInUse = 145
QuotaExceeded = 151
PayloadFormatInvalid = 153
Trait Implementations§
Source§impl Clone for PubRecReason
impl Clone for PubRecReason
Source§fn clone(&self) -> PubRecReason
fn clone(&self) -> PubRecReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u8> for PubRecReason
impl TryFrom<u8> for PubRecReason
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 UnsafeUnpin 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