Enum for_mqtt_client::QoSWithPacketId
source · pub enum QoSWithPacketId {
AtMostOnce,
AtLeastOnce(u16),
ExactlyOnce(u16),
}
Expand description
Quality of service
Variants§
Implementations§
Trait Implementations§
source§impl Clone for QoSWithPacketId
impl Clone for QoSWithPacketId
source§fn clone(&self) -> QoSWithPacketId
fn clone(&self) -> QoSWithPacketId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QoSWithPacketId
impl Debug for QoSWithPacketId
source§impl PartialEq<QoSWithPacketId> for QoSWithPacketId
impl PartialEq<QoSWithPacketId> for QoSWithPacketId
source§fn eq(&self, other: &QoSWithPacketId) -> bool
fn eq(&self, other: &QoSWithPacketId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<QoSWithPacketId> for QoSWithPacketId
impl PartialOrd<QoSWithPacketId> for QoSWithPacketId
source§fn partial_cmp(&self, other: &QoSWithPacketId) -> Option<Ordering>
fn partial_cmp(&self, other: &QoSWithPacketId) -> Option<Ordering>
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 QoSWithPacketId
impl Eq for QoSWithPacketId
impl StructuralEq for QoSWithPacketId
impl StructuralPartialEq for QoSWithPacketId
Auto Trait Implementations§
impl RefUnwindSafe for QoSWithPacketId
impl Send for QoSWithPacketId
impl Sync for QoSWithPacketId
impl Unpin for QoSWithPacketId
impl UnwindSafe for QoSWithPacketId
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