Enum rust_mqtt::packet::v5::publish_packet::QualityOfService
source · pub enum QualityOfService {
QoS0,
QoS1,
QoS2,
INVALID,
}Variants§
Trait Implementations§
source§impl Clone for QualityOfService
impl Clone for QualityOfService
source§fn clone(&self) -> QualityOfService
fn clone(&self) -> QualityOfService
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 QualityOfService
impl Debug for QualityOfService
source§impl From<QualityOfService> for u8
impl From<QualityOfService> for u8
source§fn from(value: QualityOfService) -> Self
fn from(value: QualityOfService) -> Self
Converts to this type from the input type.
source§impl From<u8> for QualityOfService
impl From<u8> for QualityOfService
source§impl PartialEq for QualityOfService
impl PartialEq for QualityOfService
source§fn eq(&self, other: &QualityOfService) -> bool
fn eq(&self, other: &QualityOfService) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for QualityOfService
impl StructuralPartialEq for QualityOfService
Auto Trait Implementations§
impl RefUnwindSafe for QualityOfService
impl Send for QualityOfService
impl Sync for QualityOfService
impl Unpin for QualityOfService
impl UnwindSafe for QualityOfService
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