Enum rtnetlink::LinkNla [−][src]
pub enum LinkNla { Unspec(Vec<u8>), Cost(Vec<u8>), Priority(Vec<u8>), Weight(Vec<u8>), VfInfoList(Vec<u8>), VfPorts(Vec<u8>), PortSelf(Vec<u8>), PhysPortId(Vec<u8>), PhysSwitchId(Vec<u8>), Pad(Vec<u8>), Xdp(Vec<u8>), Event(Vec<u8>), NewNetnsId(Vec<u8>), IfNetnsId(Vec<u8>), CarrierUpCount(Vec<u8>), CarrierDownCount(Vec<u8>), NewIfIndex(Vec<u8>), LinkInfo(Vec<LinkInfo>), Wireless(Vec<u8>), ProtoInfo(Vec<u8>), Address(Vec<u8>), Broadcast(Vec<u8>), IfName(String), Qdisc(String), IfAlias(String), PhysPortName(String), LinkMode(u8), Carrier(u8), ProtoDown(u8), Mtu(u32), Link(u32), Master(u32), TxQueueLen(u32), NetNsPid(u32), NumVf(u32), Group(u32), NetnsFd(u32), ExtMask(u32), Promiscuity(u32), NumTxQueues(u32), NumRxQueues(u32), CarrierChanges(u32), GsoMaxSegs(u32), GsoMaxSize(u32), LinkNetnsId(i32), OperState(LinkState), Stats(LinkStats32), Stats64(LinkStats64), Map(LinkMap), AfSpec(LinkAfSpecNla), Other(DefaultNla), }
Variants
Unspec(Vec<u8>)
Cost(Vec<u8>)
Priority(Vec<u8>)
Weight(Vec<u8>)
VfInfoList(Vec<u8>)
VfPorts(Vec<u8>)
PortSelf(Vec<u8>)
PhysPortId(Vec<u8>)
PhysSwitchId(Vec<u8>)
Pad(Vec<u8>)
Xdp(Vec<u8>)
Event(Vec<u8>)
NewNetnsId(Vec<u8>)
IfNetnsId(Vec<u8>)
CarrierUpCount(Vec<u8>)
CarrierDownCount(Vec<u8>)
NewIfIndex(Vec<u8>)
LinkInfo(Vec<LinkInfo>)
Wireless(Vec<u8>)
ProtoInfo(Vec<u8>)
Address(Vec<u8>)
Broadcast(Vec<u8>)
IfName(String)
Qdisc(String)
IfAlias(String)
PhysPortName(String)
LinkMode(u8)
Carrier(u8)
ProtoDown(u8)
Mtu(u32)
Link(u32)
Master(u32)
TxQueueLen(u32)
NetNsPid(u32)
NumVf(u32)
Group(u32)
NetnsFd(u32)
ExtMask(u32)
Promiscuity(u32)
NumTxQueues(u32)
NumRxQueues(u32)
CarrierChanges(u32)
GsoMaxSegs(u32)
GsoMaxSize(u32)
LinkNetnsId(i32)
OperState(LinkState)
Stats(LinkStats32)
Stats64(LinkStats64)
Map(LinkMap)
AfSpec(LinkAfSpecNla)
Other(DefaultNla)
Trait Implementations
impl Debug for LinkNla
[src]
impl Debug for LinkNla
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 LinkNla
[src]
impl PartialEq for LinkNla
fn eq(&self, other: &LinkNla) -> bool
[src]
fn eq(&self, other: &LinkNla) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LinkNla) -> bool
[src]
fn ne(&self, other: &LinkNla) -> bool
This method tests for !=
.
impl Eq for LinkNla
[src]
impl Eq for LinkNla
impl Clone for LinkNla
[src]
impl Clone for LinkNla
fn clone(&self) -> LinkNla
[src]
fn clone(&self) -> LinkNla
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 LinkNla
[src]
impl Nla for LinkNla
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<LinkNla> for NlaBuffer<&'buffer T>
[src]
impl<'buffer, T: AsRef<[u8]> + ?Sized> Parseable<LinkNla> for NlaBuffer<&'buffer T>