pub enum Ifla {
Show 57 variants
Unspec,
Address,
Broadcast,
Ifname,
Mtu,
Link,
Qdisc,
Stats,
Cost,
Priority,
Master,
Wireless,
Protinfo,
Txqlen,
Map,
Weight,
Operstate,
Linkmode,
Linkinfo,
NetNsPid,
Ifalias,
NumVf,
VfinfoList,
Stats64,
VfPorts,
PortSelf,
AfSpec,
Group,
NetNsFd,
ExtMask,
Promiscuity,
NumTxQueues,
NumRxQueues,
Carrier,
PhysPortId,
CarrierChanges,
PhysSwitchId,
LinkNetnsid,
PhysPortName,
ProtoDown,
GsoMaxSegs,
GsoMaxSize,
Pad,
Xdp,
Event,
NewNetnsid,
IfNetnsid,
CarrierUpCount,
CarrierDownCount,
NewIfindex,
MinMtu,
MaxMtu,
PropList,
AltIfname,
PermAddress,
ProtoDownReason,
UnrecognizedConst(c_ushort),
}
Expand description
Variants§
Unspec
Address
Broadcast
Ifname
Mtu
Link
Qdisc
Stats
Cost
Priority
Master
Wireless
Protinfo
Txqlen
Map
Weight
Operstate
Linkmode
Linkinfo
NetNsPid
Ifalias
NumVf
VfinfoList
Stats64
VfPorts
PortSelf
AfSpec
Group
NetNsFd
ExtMask
Promiscuity
NumTxQueues
NumRxQueues
Carrier
PhysPortId
CarrierChanges
PhysSwitchId
LinkNetnsid
PhysPortName
ProtoDown
GsoMaxSegs
GsoMaxSize
Pad
Xdp
Event
NewNetnsid
IfNetnsid
CarrierUpCount
CarrierDownCount
NewIfindex
MinMtu
MaxMtu
PropList
AltIfname
PermAddress
ProtoDownReason
UnrecognizedConst(c_ushort)
Implementations§
Trait Implementations§
Source§impl From<Ifla> for RtaTypeWrapper
impl From<Ifla> for RtaTypeWrapper
Source§impl Ord for Ifla
impl Ord for Ifla
Source§impl PartialOrd for Ifla
impl PartialOrd for Ifla
Source§impl Size for Ifla
impl Size for Ifla
Source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
Source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of of the payload and align it to
the required netlink byte alignment.
impl Copy for Ifla
impl Eq for Ifla
impl RtaType for Ifla
impl StructuralPartialEq for Ifla
Auto Trait Implementations§
impl Freeze for Ifla
impl RefUnwindSafe for Ifla
impl Send for Ifla
impl Sync for Ifla
impl Unpin for Ifla
impl UnwindSafe for Ifla
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more