Type Alias MacVtapMode

Source
pub type MacVtapMode = MacVlanMode;

Aliased Type§

enum MacVtapMode {
    Private,
    Vepa,
    Bridge,
    Passthrough,
    Source,
    Other(u32),
}

Variants§

§

Private

§

Vepa

§

Bridge

§

Passthrough

§

Source

§

Other(u32)

Trait Implementations

Source§

impl Clone for MacVlanMode

Source§

fn clone(&self) -> MacVlanMode

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 MacVlanMode

Source§

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

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

impl From<u32> for MacVlanMode

Source§

fn from(d: u32) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for MacVlanMode

Source§

fn eq(&self, other: &MacVlanMode) -> 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 MacVlanMode

Source§

impl Eq for MacVlanMode

Source§

impl StructuralPartialEq for MacVlanMode