Enum etherparse::EtherType
source · [−]pub enum EtherType {
Ipv4,
Ipv6,
Arp,
WakeOnLan,
VlanTaggedFrame,
ProviderBridging,
VlanDoubleTaggedFrame,
}Expand description
Ether type enum present in ethernet II header.
Variants
Ipv4
Ipv6
Arp
WakeOnLan
VlanTaggedFrame
ProviderBridging
VlanDoubleTaggedFrame
Implementations
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more