#[repr(u16)]pub enum ArpHardwareType {
Show 39 variants
Ethernet = 1,
ExperimentalEthernet = 2,
AmateurRadioAX25 = 3,
ProteonProNETTokenRing = 4,
Chaos = 5,
IEEE802Networks = 6,
ARCNET = 7,
Hyperchannel = 8,
Lanstar = 9,
AutonetShortAddress = 10,
LocalTalk = 11,
LocalNet = 12,
UltraLink = 13,
SMDS = 14,
FrameRelay = 15,
AsynchronousTransmissionMode = 16,
HDLC = 17,
FibreChannel = 18,
AsynchronousTransmissionMode2 = 19,
SerialLine = 20,
AsynchronousTransmissionMode3 = 21,
MILSTD188220 = 22,
Metricom = 23,
IEEE13941995 = 24,
MAPOS = 25,
Twinaxial = 26,
EUI64 = 27,
HIPARP = 28,
IPandARPoverISO78163 = 29,
ARPSec = 30,
IPsecTunnel = 31,
InfiniBand = 32,
TIA102Project25CommonAirInterface = 16_384,
WiegandInterface = 16_385,
PureIP = 16_386,
HWEXP1 = 65_280,
HWEXP2 = 65_281,
AEthernet = 65_282,
Unknown(u16),
}
Expand description
Represents the ARP hardware types.
Variants§
Ethernet = 1
Ethernet (10Mb)
ExperimentalEthernet = 2
Experimental Ethernet (3Mb)
AmateurRadioAX25 = 3
Amateur Radio AX.25
ProteonProNETTokenRing = 4
Proteon ProNET Token Ring
Chaos = 5
Chaos
IEEE802Networks = 6
IEEE 802 Networks
ARCNET = 7
ARCNET
Hyperchannel = 8
Hyperchannel
Lanstar = 9
Lanstar
AutonetShortAddress = 10
Autonet Short Address
LocalTalk = 11
LocalTalk
LocalNet = 12
LocalNet (IBM PCNet or SYTEK LocalNET)
UltraLink = 13
Ultra link
SMDS = 14
SMDS
FrameRelay = 15
Frame Relay
AsynchronousTransmissionMode = 16
Asynchronous Transmission Mode (ATM)
HDLC = 17
HDLC
FibreChannel = 18
Fibre Channel
AsynchronousTransmissionMode2 = 19
Asynchronous Transmission Mode (ATM)
SerialLine = 20
Serial Line
AsynchronousTransmissionMode3 = 21
Asynchronous Transmission Mode (ATM)
MILSTD188220 = 22
MIL-STD-188-220
Metricom = 23
Metricom
IEEE13941995 = 24
IEEE 1394.1995
MAPOS = 25
MAPOS
Twinaxial = 26
Twinaxial
EUI64 = 27
EUI-64
HIPARP = 28
HIPARP
IPandARPoverISO78163 = 29
IP and ARP over ISO 7816-3
ARPSec = 30
ARPSec
IPsecTunnel = 31
IPsec tunnel
InfiniBand = 32
InfiniBand (TM)
TIA102Project25CommonAirInterface = 16_384
TIA-102 Project 25 Common Air Interface
WiegandInterface = 16_385
Wiegand Interface
PureIP = 16_386
Pure IP
HWEXP1 = 65_280
HW_EXP1
HWEXP2 = 65_281
HW_EXP2
AEthernet = 65_282
AEthernet
Unknown(u16)
Unknown ARP hardware type
Implementations§
Source§impl ArpHardwareType
impl ArpHardwareType
pub fn new(value: u16) -> ArpHardwareType
Trait Implementations§
Source§impl Clone for ArpHardwareType
impl Clone for ArpHardwareType
Source§fn clone(&self) -> ArpHardwareType
fn clone(&self) -> ArpHardwareType
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 Debug for ArpHardwareType
impl Debug for ArpHardwareType
Source§impl Hash for ArpHardwareType
impl Hash for ArpHardwareType
Source§impl Ord for ArpHardwareType
impl Ord for ArpHardwareType
Source§fn cmp(&self, other: &ArpHardwareType) -> Ordering
fn cmp(&self, other: &ArpHardwareType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ArpHardwareType
impl PartialEq for ArpHardwareType
Source§impl PartialOrd for ArpHardwareType
impl PartialOrd for ArpHardwareType
Source§impl PrimitiveValues for ArpHardwareType
impl PrimitiveValues for ArpHardwareType
impl Copy for ArpHardwareType
impl Eq for ArpHardwareType
impl StructuralPartialEq for ArpHardwareType
Auto Trait Implementations§
impl Freeze for ArpHardwareType
impl RefUnwindSafe for ArpHardwareType
impl Send for ArpHardwareType
impl Sync for ArpHardwareType
impl Unpin for ArpHardwareType
impl UnwindSafe for ArpHardwareType
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