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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".