#[repr(u8)]pub enum MacVlanInclVlc {
NO_TAG_DEL_INS_REP = 0,
TAG_DEL = 1,
TAG_INS = 2,
TAG_REP = 3,
}Variants§
NO_TAG_DEL_INS_REP = 0
No VLAN tag deletion, insertion, or replacement
TAG_DEL = 1
VLAN tag deletion
TAG_INS = 2
VLAN tag insertion
TAG_REP = 3
VLAN tag replacement
Implementations§
Trait Implementations§
Source§impl Clone for MacVlanInclVlc
impl Clone for MacVlanInclVlc
Source§fn clone(&self) -> MacVlanInclVlc
fn clone(&self) -> MacVlanInclVlc
Returns a duplicate 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 MacVlanInclVlc
impl Debug for MacVlanInclVlc
Source§impl From<MacVlanInclVlc> for u8
impl From<MacVlanInclVlc> for u8
Source§fn from(val: MacVlanInclVlc) -> u8
fn from(val: MacVlanInclVlc) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MacVlanInclVlc
impl From<u8> for MacVlanInclVlc
Source§fn from(val: u8) -> MacVlanInclVlc
fn from(val: u8) -> MacVlanInclVlc
Converts to this type from the input type.
Source§impl Ord for MacVlanInclVlc
impl Ord for MacVlanInclVlc
Source§fn cmp(&self, other: &MacVlanInclVlc) -> Ordering
fn cmp(&self, other: &MacVlanInclVlc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MacVlanInclVlc
impl PartialEq for MacVlanInclVlc
Source§impl PartialOrd for MacVlanInclVlc
impl PartialOrd for MacVlanInclVlc
impl Copy for MacVlanInclVlc
impl Eq for MacVlanInclVlc
impl StructuralPartialEq for MacVlanInclVlc
Auto Trait Implementations§
impl Freeze for MacVlanInclVlc
impl RefUnwindSafe for MacVlanInclVlc
impl Send for MacVlanInclVlc
impl Sync for MacVlanInclVlc
impl Unpin for MacVlanInclVlc
impl UnwindSafe for MacVlanInclVlc
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