pub enum QoS {
AtMostOnce,
AtLeastOnce,
ExactlyOnce,
}
Expand description
Packet delivery Quality of Service level.
Variants§
AtMostOnce
QoS 0
. No ack needed.
AtLeastOnce
QoS 1
. One ack needed.
ExactlyOnce
QoS 2
. Two acks needed.
Trait Implementations§
impl Copy for QoS
impl Eq for QoS
impl StructuralPartialEq for QoS
Auto Trait Implementations§
impl Freeze for QoS
impl RefUnwindSafe for QoS
impl Send for QoS
impl Sync for QoS
impl Unpin for QoS
impl UnwindSafe for QoS
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