Struct rtnetlink::QosMapping
source · pub struct QosMapping {
pub from: u32,
pub to: u32,
}
Expand description
A quality-of-service mapping between the internal priority from
to the
external vlan priority to
.
Fields§
§from: u32
§to: u32
Trait Implementations§
source§impl Clone for QosMapping
impl Clone for QosMapping
source§fn clone(&self) -> QosMapping
fn clone(&self) -> QosMapping
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 QosMapping
impl Debug for QosMapping
source§impl From<QosMapping> for VlanQosMapping
impl From<QosMapping> for VlanQosMapping
source§fn from(_: QosMapping) -> Self
fn from(_: QosMapping) -> Self
Converts to this type from the input type.
source§impl PartialEq for QosMapping
impl PartialEq for QosMapping
source§fn eq(&self, other: &QosMapping) -> bool
fn eq(&self, other: &QosMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for QosMapping
impl Eq for QosMapping
impl StructuralPartialEq for QosMapping
Auto Trait Implementations§
impl RefUnwindSafe for QosMapping
impl Send for QosMapping
impl Sync for QosMapping
impl Unpin for QosMapping
impl UnwindSafe for QosMapping
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