Enum mqtt3::QoS [] [src]

pub enum QoS {
    AtMostOnce,
    AtLeastOnce,
    ExactlyOnce,
}

Variants

AtMostOnceAtLeastOnceExactlyOnce

Methods

impl QoS
[src]

fn from_u8(byte: u8) -> Result<QoS>

fn from_hd(hd: u8) -> Result<QoS>

fn to_u8(&self) -> u8

fn min(&self, other: QoS) -> QoS

Trait Implementations

impl Eq for QoS
[src]

impl PartialEq for QoS
[src]

fn eq(&self, __arg_0: &QoS) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Copy for QoS
[src]

impl Clone for QoS
[src]

fn clone(&self) -> QoS

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for QoS
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.