#[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
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