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 PrimitiveValues for EtherType
impl PrimitiveValues for EtherType
impl Copy for EtherType
impl Eq for EtherType
impl StructuralPartialEq for EtherType
Auto Trait Implementations§
impl Freeze for EtherType
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