pub enum AddressFamilyAttribute {
Show 47 variants
Unspecified,
Address,
Broadcast,
InterfaceName,
MTU,
Link,
QDisc,
Stats,
Cost,
Priority,
Master,
WirelessExtension,
ProtocolInformation,
TransmitQueueLength,
Map,
Weight,
OperationState,
LinkMode,
LinkInfo,
NetworkNameSpacePid,
InterfaceAlias,
NumberVf,
VfInfoList,
Stats64,
VfPorts,
PortSelf,
AfSpecification,
Group,
NetworkNameSpaceFileDescriptor,
ExtendedMask,
PromiscuityCount,
TransmitQueueCount,
ReceiveQueueCount,
Carrier,
PhysPortId,
CarrierChanges,
PhysSwitchId,
LinkNetworkNameSpaceId,
PhysPortName,
ProtocolDown,
GsoMaximumSegs,
GsoMaximumSize,
Padding,
Xdp,
Event,
NewNetworkNameSpaceId,
InterfaceNetworkNameSpaceId,
}
Variants§
Unspecified
Address
Broadcast
InterfaceName
MTU
Link
QDisc
Stats
Cost
Priority
Master
WirelessExtension
ProtocolInformation
TransmitQueueLength
Map
Weight
OperationState
LinkMode
LinkInfo
NetworkNameSpacePid
InterfaceAlias
NumberVf
VfInfoList
Stats64
VfPorts
PortSelf
AfSpecification
Group
NetworkNameSpaceFileDescriptor
ExtendedMask
PromiscuityCount
TransmitQueueCount
ReceiveQueueCount
Carrier
PhysPortId
CarrierChanges
PhysSwitchId
LinkNetworkNameSpaceId
PhysPortName
ProtocolDown
GsoMaximumSegs
GsoMaximumSize
Padding
Xdp
Event
NewNetworkNameSpaceId
InterfaceNetworkNameSpaceId
Trait Implementations§
Source§impl Clone for AddressFamilyAttribute
impl Clone for AddressFamilyAttribute
Source§fn clone(&self) -> AddressFamilyAttribute
fn clone(&self) -> AddressFamilyAttribute
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ConvertFrom<u16> for AddressFamilyAttribute
impl ConvertFrom<u16> for AddressFamilyAttribute
fn convert_from(v: u16) -> Option<Self>
Source§impl Debug for AddressFamilyAttribute
impl Debug for AddressFamilyAttribute
Source§impl From<AddressFamilyAttribute> for u16
impl From<AddressFamilyAttribute> for u16
Source§fn from(v: AddressFamilyAttribute) -> Self
fn from(v: AddressFamilyAttribute) -> Self
Converts to this type from the input type.
Source§impl From<u16> for AddressFamilyAttribute
impl From<u16> for AddressFamilyAttribute
Source§impl PartialEq<AddressFamilyAttribute> for u16
impl PartialEq<AddressFamilyAttribute> for u16
Source§fn eq(&self, other: &AddressFamilyAttribute) -> bool
fn eq(&self, other: &AddressFamilyAttribute) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§fn ne(&self, other: &AddressFamilyAttribute) -> bool
fn ne(&self, other: &AddressFamilyAttribute) -> bool
Tests for
!=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.Source§impl PartialEq for AddressFamilyAttribute
impl PartialEq for AddressFamilyAttribute
impl Eq for AddressFamilyAttribute
impl StructuralPartialEq for AddressFamilyAttribute
Auto Trait Implementations§
impl Freeze for AddressFamilyAttribute
impl RefUnwindSafe for AddressFamilyAttribute
impl Send for AddressFamilyAttribute
impl Sync for AddressFamilyAttribute
impl Unpin for AddressFamilyAttribute
impl UnwindSafe for AddressFamilyAttribute
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