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 PartialOrd for Arphrd
impl PartialOrd for Arphrd
Source§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.
impl Copy for Arphrd
impl Eq for Arphrd
impl StructuralPartialEq for Arphrd
Auto Trait Implementations§
impl Freeze for Arphrd
impl RefUnwindSafe for Arphrd
impl Send for Arphrd
impl Sync for Arphrd
impl Unpin for Arphrd
impl UnwindSafe for Arphrd
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