Enum rtnetlink::RouteNla [−][src]
pub enum RouteNla { Unspec(Vec<u8>), Destination(Vec<u8>), Source(Vec<u8>), Gateway(Vec<u8>), PrefSource(Vec<u8>), Metrics(RouteMetricsNla), MultiPath(Vec<u8>), CacheInfo(RouteCacheInfo), Session(Vec<u8>), MpAlgo(Vec<u8>), MfcStats(RouteMfcStats), Via(Vec<u8>), NewDestination(Vec<u8>), Pref(Vec<u8>), Encap(Vec<u8>), Expires(Vec<u8>), Pad(Vec<u8>), Uid(Vec<u8>), TtlPropagate(Vec<u8>), EncapType(u16), Iif(u32), Oif(u32), Priority(u32), ProtocolInfo(u32), Flow(u32), Table(u32), Mark(u32), Other(DefaultNla), }
Variants
Unspec(Vec<u8>)
Destination(Vec<u8>)
Source(Vec<u8>)
Gateway(Vec<u8>)
PrefSource(Vec<u8>)
Metrics(RouteMetricsNla)
MultiPath(Vec<u8>)
CacheInfo(RouteCacheInfo)
Session(Vec<u8>)
MpAlgo(Vec<u8>)
MfcStats(RouteMfcStats)
Via(Vec<u8>)
NewDestination(Vec<u8>)
Pref(Vec<u8>)
Encap(Vec<u8>)
Expires(Vec<u8>)
Pad(Vec<u8>)
Uid(Vec<u8>)
TtlPropagate(Vec<u8>)
EncapType(u16)
Iif(u32)
Oif(u32)
Priority(u32)
ProtocolInfo(u32)
Flow(u32)
Table(u32)
Mark(u32)
Other(DefaultNla)
Trait Implementations
impl Debug for RouteNla
[src]
impl Debug for RouteNla
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for RouteNla
[src]
impl PartialEq for RouteNla
fn eq(&self, other: &RouteNla) -> bool
[src]
fn eq(&self, other: &RouteNla) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RouteNla) -> bool
[src]
fn ne(&self, other: &RouteNla) -> bool
This method tests for !=
.
impl Eq for RouteNla
[src]
impl Eq for RouteNla
impl Clone for RouteNla
[src]
impl Clone for RouteNla
fn clone(&self) -> RouteNla
[src]
fn clone(&self) -> RouteNla
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Nla for RouteNla
[src]
impl Nla for RouteNla
fn value_len(&self) -> usize
[src]
fn value_len(&self) -> usize
fn emit_value(&self, buffer: &mut [u8])
[src]
fn emit_value(&self, buffer: &mut [u8])
fn kind(&self) -> u16
[src]
fn kind(&self) -> u16
impl<'buffer, T: AsRef<[u8]> + ?Sized> Parseable<RouteNla> for NlaBuffer<&'buffer T>
[src]
impl<'buffer, T: AsRef<[u8]> + ?Sized> Parseable<RouteNla> for NlaBuffer<&'buffer T>