pub enum Arphrd {
Show 19 variants
Netrom,
Ether,
Eether,
AX25,
Pronet,
Chaos,
Ieee802,
Arcnet,
Appletlk,
Dlci,
Atm,
Metricom,
Ieee1394,
Eui64,
Infiniband,
Loopback,
Void,
None,
UnrecognizedConst(c_ushort),
}
Expand description
Interface types
Variants§
Netrom
Ether
Eether
AX25
Pronet
Chaos
Ieee802
Arcnet
Appletlk
Dlci
Atm
Metricom
Ieee1394
Eui64
Infiniband
Loopback
Void
None
UnrecognizedConst(c_ushort)
Implementations§
Trait Implementations§
source§impl Ord for Arphrd
impl Ord for Arphrd
source§impl PartialEq<Arphrd> for Arphrd
impl PartialEq<Arphrd> for Arphrd
source§impl PartialOrd<Arphrd> for Arphrd
impl PartialOrd<Arphrd> for Arphrd
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Size for Arphrd
impl Size for Arphrd
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.