Enum packet_formats::ethernet::EtherType
source · pub enum EtherType {
Ipv4,
Arp,
Ipv6,
Other(u16),
}
Expand description
An EtherType number.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for EtherType
impl PartialEq 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