Type Alias IpVtapMode

Source
pub type IpVtapMode = IpVlanMode;

Aliased Type§

enum IpVtapMode {
    L2,
    L3,
    L3S,
    Other(u16),
}

Variants§

§

L2

§

L3

§

L3S

§

Other(u16)

Trait Implementations

Source§

impl Clone for IpVlanMode

Source§

fn clone(&self) -> IpVlanMode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IpVlanMode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<u16> for IpVlanMode

Source§

fn from(d: u16) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for IpVlanMode

Source§

fn eq(&self, other: &IpVlanMode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for IpVlanMode

Source§

impl Eq for IpVlanMode

Source§

impl StructuralPartialEq for IpVlanMode