Enum for_mqtt_client::QoSWithPacketId
source · pub enum QoSWithPacketId {
AtMostOnce,
AtLeastOnce(u16),
ExactlyOnce(u16),
}Expand description
Quality of service
Variants§
Implementations§
Trait Implementations§
source§impl Clone for QoSWithPacketId
impl Clone for QoSWithPacketId
source§fn clone(&self) -> QoSWithPacketId
fn clone(&self) -> QoSWithPacketId
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 QoSWithPacketId
impl Debug for QoSWithPacketId
source§impl PartialEq<QoSWithPacketId> for QoSWithPacketId
impl PartialEq<QoSWithPacketId> for QoSWithPacketId
source§fn eq(&self, other: &QoSWithPacketId) -> bool
fn eq(&self, other: &QoSWithPacketId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<QoSWithPacketId> for QoSWithPacketId
impl PartialOrd<QoSWithPacketId> for QoSWithPacketId
source§fn partial_cmp(&self, other: &QoSWithPacketId) -> Option<Ordering>
fn partial_cmp(&self, other: &QoSWithPacketId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more