Enum cross_socket::packet::arp::ArpHardwareType
source · pub enum ArpHardwareType {
Show 38 variants
Ethernet,
ExperimentalEthernet,
AmateurRadioAX25,
ProteonProNETTokenRing,
Chaos,
IEEE802Networks,
ARCNET,
Hyperchannel,
Lanstar,
AutonetShortAddress,
LocalTalk,
LocalNet,
UltraLink,
SMDS,
FrameRelay,
AsynchronousTransmissionMode,
HDLC,
FibreChannel,
AsynchronousTransmissionMode2,
SerialLine,
AsynchronousTransmissionMode3,
MILSTD188220,
Metricom,
IEEE13941995,
MAPOS,
Twinaxial,
EUI64,
HIPARP,
IPandARPoverISO78163,
ARPSec,
IPsecTunnel,
InfiniBand,
TIA102Project25CommonAirInterface,
WiegandInterface,
PureIP,
HWEXP1,
HWEXP2,
AEthernet,
}
Expand description
Represents the ARP hardware types.
Variants§
Ethernet
Ethernet (10Mb)
ExperimentalEthernet
Experimental Ethernet (3Mb)
AmateurRadioAX25
Amateur Radio AX.25
ProteonProNETTokenRing
Proteon ProNET Token Ring
Chaos
Chaos
IEEE802Networks
IEEE 802 Networks
ARCNET
ARCNET
Hyperchannel
Hyperchannel
Lanstar
Lanstar
AutonetShortAddress
Autonet Short Address
LocalTalk
LocalTalk
LocalNet
LocalNet (IBM PCNet or SYTEK LocalNET)
UltraLink
Ultra link
SMDS
SMDS
FrameRelay
Frame Relay
AsynchronousTransmissionMode
Asynchronous Transmission Mode (ATM)
HDLC
HDLC
FibreChannel
Fibre Channel
AsynchronousTransmissionMode2
Asynchronous Transmission Mode (ATM)
SerialLine
Serial Line
AsynchronousTransmissionMode3
Asynchronous Transmission Mode (ATM)
MILSTD188220
MIL-STD-188-220
Metricom
Metricom
IEEE13941995
IEEE 1394.1995
MAPOS
MAPOS
Twinaxial
Twinaxial
EUI64
EUI-64
HIPARP
HIPARP
IPandARPoverISO78163
IP and ARP over ISO 7816-3
ARPSec
ARPSec
IPsecTunnel
IPsec tunnel
InfiniBand
InfiniBand (TM)
TIA102Project25CommonAirInterface
TIA-102 Project 25 Common Air Interface
WiegandInterface
Wiegand Interface
PureIP
Pure IP
HWEXP1
HW_EXP1
HWEXP2
HW_EXP2
AEthernet
AEthernet
Implementations§
source§impl ArpHardwareType
impl ArpHardwareType
sourcepub fn from_u16(n: u16) -> Option<ArpHardwareType>
pub fn from_u16(n: u16) -> Option<ArpHardwareType>
Constructs a new ArpHardwareType from u16
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<ArpHardwareType> for ArpHardwareType
impl PartialEq<ArpHardwareType> for ArpHardwareType
source§fn eq(&self, other: &ArpHardwareType) -> bool
fn eq(&self, other: &ArpHardwareType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ArpHardwareType> for ArpHardwareType
impl PartialOrd<ArpHardwareType> for ArpHardwareType
source§fn partial_cmp(&self, other: &ArpHardwareType) -> Option<Ordering>
fn partial_cmp(&self, other: &ArpHardwareType) -> Option<Ordering>
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 moreimpl Copy for ArpHardwareType
impl Eq for ArpHardwareType
impl StructuralEq for ArpHardwareType
impl StructuralPartialEq for ArpHardwareType
Auto Trait Implementations§
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