Struct netsim_embed::vlan::ClassOfService [−][src]
pub struct ClassOfService(pub u8);
Represents an IEEE 802.1p class of a service.
Implementations
impl ClassOfService[src]
impl ClassOfService[src]pub fn new(value: u8) -> ClassOfService[src]
Create a new ClassOfService instance.
Trait Implementations
impl Clone for ClassOfService[src]
impl Clone for ClassOfService[src]pub fn clone(&self) -> ClassOfService[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ClassOfService[src]
impl Copy for ClassOfService[src]impl Debug for ClassOfService[src]
impl Debug for ClassOfService[src]impl Eq for ClassOfService[src]
impl Eq for ClassOfService[src]impl Hash for ClassOfService[src]
impl Hash for ClassOfService[src]impl Ord for ClassOfService[src]
impl Ord for ClassOfService[src]impl PartialEq<ClassOfService> for ClassOfService[src]
impl PartialEq<ClassOfService> for ClassOfService[src]pub fn eq(&self, other: &ClassOfService) -> bool[src]
pub fn ne(&self, other: &ClassOfService) -> bool[src]
impl PartialOrd<ClassOfService> for ClassOfService[src]
impl PartialOrd<ClassOfService> for ClassOfService[src]pub fn partial_cmp(&self, other: &ClassOfService) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl PrimitiveValues for ClassOfService[src]
impl PrimitiveValues for ClassOfService[src]impl StructuralEq for ClassOfService[src]
impl StructuralEq for ClassOfService[src]impl StructuralPartialEq for ClassOfService[src]
impl StructuralPartialEq for ClassOfService[src]Auto Trait Implementations
impl RefUnwindSafe for ClassOfService
impl RefUnwindSafe for ClassOfServiceimpl Send for ClassOfService
impl Send for ClassOfServiceimpl Sync for ClassOfService
impl Sync for ClassOfServiceimpl Unpin for ClassOfService
impl Unpin for ClassOfServiceimpl UnwindSafe for ClassOfService
impl UnwindSafe for ClassOfServiceBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,