Trait packet_formats::ethernet::EthernetIpExt
source · pub trait EthernetIpExt: Ip {
const ETHER_TYPE: EtherType;
}
Expand description
An extension trait adding IP-related functionality to Ipv4
and Ipv6
.
Required Associated Constants§
sourceconst ETHER_TYPE: EtherType
const ETHER_TYPE: EtherType
The EtherType
value for an associated IP version.
Object Safety§
This trait is not object safe.