pub enum QoS {
AtMostOnce,
AtLeastOnce,
}
Expand description
Represents the MQTT Quality of Service level. Currently does not include Quality of Service 2.
Variants§
AtMostOnce
Quality of Service level 0 (At most once)
AtLeastOnce
Quality of Service level 1 (At least once)
Trait Implementations§
impl Copy 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