Enum xenet_packet::ethernet::EtherType
source · pub enum EtherType {
Show 25 variants
Ipv4,
Arp,
WakeOnLan,
Trill,
DECnet,
Rarp,
AppleTalk,
Aarp,
Ipx,
Qnx,
Ipv6,
FlowControl,
CobraNet,
Mpls,
MplsMcast,
PppoeDiscovery,
PppoeSession,
Vlan,
PBridge,
Lldp,
Ptp,
Cfm,
QinQ,
Rldp,
Unknown(u16),
}
Expand description
Represents the Ethernet types.
Variants§
Ipv4
Arp
WakeOnLan
Trill
DECnet
Rarp
AppleTalk
Aarp
Ipx
Qnx
Ipv6
FlowControl
CobraNet
Mpls
MplsMcast
PppoeDiscovery
PppoeSession
Vlan
PBridge
Lldp
Ptp
Cfm
QinQ
Rldp
Unknown(u16)
Implementations§
Trait Implementations§
source§impl PartialEq for EtherType
impl PartialEq for EtherType
source§impl PrimitiveValues for EtherType
impl PrimitiveValues for EtherType
impl Copy for EtherType
impl Eq for EtherType
impl StructuralEq for EtherType
impl StructuralPartialEq for EtherType
Auto Trait Implementations§
impl RefUnwindSafe for EtherType
impl Send for EtherType
impl Sync for EtherType
impl Unpin for EtherType
impl UnwindSafe for EtherType
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