#[repr(u8)]pub enum PubcompReasonCode {
Success = 0,
PacketIdentifierNotFound = 146,
}
Expand description
Reason code for PUBCOMP packet.
Dec | Hex | Reason Code name | Description |
---|---|---|---|
0 | 0x00 | Success | Packet Identifier released. Publication of QoS 2 message is complete. |
146 | 0x92 | Packet Identifier not found | The Packet Identifier is not known. This is not an error during recovery, |
but at other times indicates a mismatch between the Session State on the Client and Server. |
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PubcompReasonCode
impl Clone for PubcompReasonCode
Source§fn clone(&self) -> PubcompReasonCode
fn clone(&self) -> PubcompReasonCode
Returns a duplicate 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 PubcompReasonCode
impl Debug for PubcompReasonCode
Source§impl Hash for PubcompReasonCode
impl Hash for PubcompReasonCode
Source§impl PartialEq for PubcompReasonCode
impl PartialEq for PubcompReasonCode
impl Copy for PubcompReasonCode
impl Eq for PubcompReasonCode
impl StructuralPartialEq for PubcompReasonCode
Auto Trait Implementations§
impl Freeze for PubcompReasonCode
impl RefUnwindSafe for PubcompReasonCode
impl Send for PubcompReasonCode
impl Sync for PubcompReasonCode
impl Unpin for PubcompReasonCode
impl UnwindSafe for PubcompReasonCode
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