pub enum Dscp {
Show 24 variants
DF,
AF11,
AF12,
AF13,
AF21,
AF22,
AF23,
AF31,
AF32,
AF33,
AF41,
AF42,
AF43,
CS1,
CS2,
CS3,
CS4,
CS5,
CS6,
CS7,
EF,
VA,
LE,
Other(u8),
}Expand description
Variants§
DF
Default Forwarding (000 000, 0 dec).
aka Best Effort (BE) aka Class Selector 0 (CS0).
See rfc2474 and 2475.
AF11
Assured Forwarding 11 (001 010, 10 dec).
AF12
Assured Forwarding 12 (001 100, 12 dec).
AF13
Assured Forwarding 13 (001 110, 14 dec).
AF21
Assured Forwarding 21 (010 010, 18 dec).
AF22
Assured Forwarding 22 (010 100, 20 dec).
AF23
Assured Forwarding 23 (010 110, 22 dec).
AF31
Assured Forwarding 31 (011 010, 26 dec).
AF32
Assured Forwarding 32 (011 100, 28 dec).
AF33
Assured Forwarding 33 (011 110, 30 dec).
AF41
Assured Forwarding 41 (100 010, 34 dec).
AF42
Assured Forwarding 42 (100 100, 36 dec).
AF43
Assured Forwarding 43 (100 110, 38 dec).
CS1
Class Selector 1 (001 000, 8 dec).
CS2
Class Selector 2 (010 000, 16 dec).
CS3
Class Selector 3 (011 000, 24 dec).
CS4
Class Selector 4 (100 000, 32 dec).
CS5
Class Selector 5 (101 000, 40 dec).
CS6
Class Selector 6 (110 000, 48 dec).
CS7
Class Selector 7 (111 000, 56 dec).
EF
High Priority Expedited Forwarding (101 110, 46 dec).
VA
Voice Admit (101 100, 44 dec).
LE
Lower Effort (000 001, 1 dec).
Other(u8)
Other DSCP value (not defined in the standard).
Trait Implementations§
impl Copy for Dscp
impl Eq for Dscp
impl StructuralPartialEq for Dscp
Auto Trait Implementations§
impl Freeze for Dscp
impl RefUnwindSafe for Dscp
impl Send for Dscp
impl Sync for Dscp
impl Unpin for Dscp
impl UnwindSafe for Dscp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more