Enum for_mqtt_client::QoS
source · #[repr(u8)]pub enum QoS {
AtMostOnce,
AtLeastOnce,
ExactlyOnce,
}
Expand description
Quality of service
Variants§
Trait Implementations§
source§impl PartialOrd<QoS> for QoS
impl PartialOrd<QoS> for QoS
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 moreimpl Copy for QoS
impl Eq for QoS
impl StructuralEq for QoS
impl StructuralPartialEq for QoS
Auto Trait Implementations§
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