#[repr(u8)]pub enum QualityOfService {
Level0 = 0,
Level1 = 1,
Level2 = 2,
}
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<QoSWithPacketIdentifier> for QualityOfService
impl From<QoSWithPacketIdentifier> for QualityOfService
Source§fn from(qos: QoSWithPacketIdentifier) -> QualityOfService
fn from(qos: QoSWithPacketIdentifier) -> QualityOfService
Converts to this type from the input type.
Source§impl Ord for QualityOfService
impl Ord for QualityOfService
Source§fn cmp(&self, other: &QualityOfService) -> Ordering
fn cmp(&self, other: &QualityOfService) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QualityOfService
impl PartialEq for QualityOfService
Source§impl PartialOrd for QualityOfService
impl PartialOrd for QualityOfService
impl Copy for QualityOfService
impl Eq for QualityOfService
impl StructuralPartialEq for QualityOfService
Auto Trait Implementations§
impl Freeze for QualityOfService
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