#[repr(u8)]pub enum PubrelReasonCode {
Success = 0,
PacketIdentifierNotFound = 146,
}
Expand description
Reason code for PUBREL packet.
Dec | Hex | Reason Code name | Description |
---|---|---|---|
0 | 0x00 | Success | Message released. |
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 PubrelReasonCode
impl Clone for PubrelReasonCode
Source§fn clone(&self) -> PubrelReasonCode
fn clone(&self) -> PubrelReasonCode
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 PubrelReasonCode
impl Debug for PubrelReasonCode
Source§impl Hash for PubrelReasonCode
impl Hash for PubrelReasonCode
Source§impl PartialEq for PubrelReasonCode
impl PartialEq for PubrelReasonCode
impl Copy for PubrelReasonCode
impl Eq for PubrelReasonCode
impl StructuralPartialEq for PubrelReasonCode
Auto Trait Implementations§
impl Freeze for PubrelReasonCode
impl RefUnwindSafe for PubrelReasonCode
impl Send for PubrelReasonCode
impl Sync for PubrelReasonCode
impl Unpin for PubrelReasonCode
impl UnwindSafe for PubrelReasonCode
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