Enum netlink_sys::rtnl::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 LinkNlafn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for LinkNla[src]
impl PartialEq for LinkNlafn eq(&self, other: &LinkNla) -> bool[src]
fn eq(&self, other: &LinkNla) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for LinkNla[src]
impl Eq for LinkNlaimpl Clone for LinkNla[src]
impl Clone for LinkNlafn clone(&self) -> LinkNla[src]
fn clone(&self) -> LinkNlaReturns 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 LinkNlafn value_len(&self) -> usize[src]
fn value_len(&self) -> usizefn emit_value(&self, buffer: &mut [u8])[src]
fn emit_value(&self, buffer: &mut [u8])fn kind(&self) -> u16[src]
fn kind(&self) -> u16impl<'buffer, T: AsRef<[u8]> + ?Sized> Parseable<LinkNla> for NlaBuffer<&'buffer T>[src]
impl<'buffer, T: AsRef<[u8]> + ?Sized> Parseable<LinkNla> for NlaBuffer<&'buffer T>