Enum mutnet::typed_protocol_headers::Dscp
source · #[repr(u8)]pub enum Dscp {
Show 23 variants
Cs0 = 0,
Cs1 = 8,
Cs2 = 16,
Cs3 = 24,
Cs4 = 32,
Cs5 = 40,
Cs6 = 48,
Cs7 = 56,
Af11 = 10,
Af12 = 12,
Af13 = 14,
Af21 = 18,
Af22 = 20,
Af23 = 22,
Af31 = 26,
Af32 = 28,
Af33 = 30,
Af41 = 34,
Af42 = 36,
Af43 = 38,
Ef = 46,
VoiceAdmit = 44,
Le = 1,
}
Expand description
Variants§
Cs0 = 0
CS0
Cs1 = 8
CS1
Cs2 = 16
CS2
Cs3 = 24
CS3
Cs4 = 32
CS4
Cs5 = 40
CS5
Cs6 = 48
CS6
Cs7 = 56
CS7
Af11 = 10
AF11
Af12 = 12
AF12
Af13 = 14
AF13
Af21 = 18
AF21
Af22 = 20
AF22
Af23 = 22
AF23
Af31 = 26
AF31
Af32 = 28
AF32
Af33 = 30
AF33
Af41 = 34
AF41
Af42 = 36
AF42
Af43 = 38
AF43
Ef = 46
EF
VoiceAdmit = 44
VOICE-ADMIT
Le = 1
LE
Trait Implementations§
source§impl Ord for Dscp
impl Ord for Dscp
source§impl PartialEq for Dscp
impl PartialEq for Dscp
source§impl PartialOrd for Dscp
impl PartialOrd for Dscp
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 moresource§impl TryFrom<u8> for Dscp
impl TryFrom<u8> for Dscp
§type Error = UnrecognizedDscpError
type Error = UnrecognizedDscpError
The type returned in the event of a conversion error.
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
Mutably borrows from an owned value. Read more