Enum mqtt::packet::publish::QoSWithPacketIdentifier [−][src]
QoS with identifier pairs
Variants
Level0Level1(u16)Level2(u16)
Methods
impl QoSWithPacketIdentifier[src]
impl QoSWithPacketIdentifierpub fn new(qos: QualityOfService, id: u16) -> QoSWithPacketIdentifier[src]
pub fn new(qos: QualityOfService, id: u16) -> QoSWithPacketIdentifierTrait Implementations
impl Debug for QoSWithPacketIdentifier[src]
impl Debug for QoSWithPacketIdentifierfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for QoSWithPacketIdentifier[src]
impl Eq for QoSWithPacketIdentifierimpl PartialEq for QoSWithPacketIdentifier[src]
impl PartialEq for QoSWithPacketIdentifierfn eq(&self, other: &QoSWithPacketIdentifier) -> bool[src]
fn eq(&self, other: &QoSWithPacketIdentifier) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &QoSWithPacketIdentifier) -> bool[src]
fn ne(&self, other: &QoSWithPacketIdentifier) -> boolThis method tests for !=.
impl Ord for QoSWithPacketIdentifier[src]
impl Ord for QoSWithPacketIdentifierfn cmp(&self, other: &QoSWithPacketIdentifier) -> Ordering[src]
fn cmp(&self, other: &QoSWithPacketIdentifier) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialOrd for QoSWithPacketIdentifier[src]
impl PartialOrd for QoSWithPacketIdentifierfn partial_cmp(&self, other: &QoSWithPacketIdentifier) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &QoSWithPacketIdentifier) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &QoSWithPacketIdentifier) -> bool[src]
fn lt(&self, other: &QoSWithPacketIdentifier) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &QoSWithPacketIdentifier) -> bool[src]
fn le(&self, other: &QoSWithPacketIdentifier) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &QoSWithPacketIdentifier) -> bool[src]
fn gt(&self, other: &QoSWithPacketIdentifier) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &QoSWithPacketIdentifier) -> bool[src]
fn ge(&self, other: &QoSWithPacketIdentifier) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Copy for QoSWithPacketIdentifier[src]
impl Copy for QoSWithPacketIdentifierimpl Clone for QoSWithPacketIdentifier[src]
impl Clone for QoSWithPacketIdentifierfn clone(&self) -> QoSWithPacketIdentifier[src]
fn clone(&self) -> QoSWithPacketIdentifierReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl From<QoSWithPacketIdentifier> for QualityOfService[src]
impl From<QoSWithPacketIdentifier> for QualityOfServicefn from(qos: QoSWithPacketIdentifier) -> Self[src]
fn from(qos: QoSWithPacketIdentifier) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for QoSWithPacketIdentifier
impl Send for QoSWithPacketIdentifierimpl Sync for QoSWithPacketIdentifier
impl Sync for QoSWithPacketIdentifier