Enum netlink_packet_route::link::VlanQosMapping
source · #[non_exhaustive]pub enum VlanQosMapping {
Mapping(u32, u32),
Other(DefaultNla),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for VlanQosMapping
impl Clone for VlanQosMapping
source§fn clone(&self) -> VlanQosMapping
fn clone(&self) -> VlanQosMapping
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 VlanQosMapping
impl Debug for VlanQosMapping
source§impl Nla for VlanQosMapping
impl Nla for VlanQosMapping
source§impl PartialEq for VlanQosMapping
impl PartialEq for VlanQosMapping
source§fn eq(&self, other: &VlanQosMapping) -> bool
fn eq(&self, other: &VlanQosMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VlanQosMapping
impl StructuralPartialEq for VlanQosMapping
Auto Trait Implementations§
impl RefUnwindSafe for VlanQosMapping
impl Send for VlanQosMapping
impl Sync for VlanQosMapping
impl Unpin for VlanQosMapping
impl UnwindSafe for VlanQosMapping
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