Type Alias InfoVrfPort

Source
pub type InfoVrfPort = InfoVrf;

Aliased Type§

enum InfoVrfPort {
    TableId(u32),
    Other(DefaultNla),
}

Variants§

§

TableId(u32)

§

Other(DefaultNla)

Trait Implementations

Source§

impl Clone for InfoVrf

Source§

fn clone(&self) -> InfoVrf

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 InfoVrf

Source§

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

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

impl Nla for InfoVrf

Source§

fn value_len(&self) -> usize

Source§

fn emit_value(&self, buffer: &mut [u8])

Source§

fn kind(&self) -> u16

§

fn is_nested(&self) -> bool

§

fn is_network_byteorder(&self) -> bool

Source§

impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'a T>> for InfoVrf

Source§

type Error = DecodeError

Source§

fn parse(buf: &NlaBuffer<&'a T>) -> Result<Self, DecodeError>

Deserialize the current type.
Source§

impl PartialEq for InfoVrf

Source§

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

Source§

impl StructuralPartialEq for InfoVrf