Trait packet_formats::ip::IpExt
source · pub trait IpExt: EthernetIpExt + IcmpIpExt {
type Packet<B: ByteSlice>: IpPacket<B, Self, Builder = Self::PacketBuilder>;
type PacketBuilder: IpPacketBuilder<Self> + Eq;
}
Expand description
An extension trait to the Ip
trait adding associated types relevant for
packet parsing and serialization.
Required Associated Types§
sourcetype Packet<B: ByteSlice>: IpPacket<B, Self, Builder = Self::PacketBuilder>
type Packet<B: ByteSlice>: IpPacket<B, Self, Builder = Self::PacketBuilder>
An IP packet type for this IP version.
sourcetype PacketBuilder: IpPacketBuilder<Self> + Eq
type PacketBuilder: IpPacketBuilder<Self> + Eq
An IP packet builder type for the IP version.
Object Safety§
This trait is not object safe.