pub trait IcmpPacketType<B: ByteSlice, I: Ip>: Sized + ParsablePacket<B, IcmpParseArgs<I::Addr>, Error = ParseError> { }
Expand description

An ICMP or ICMPv6 packet

‘IcmpPacketType’ is implemented by Icmpv4Packet and Icmpv6Packet

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<B: ByteSlice> IcmpPacketType<B, Ipv4> for Icmpv4Packet<B>

source§

impl<B: ByteSlice> IcmpPacketType<B, Ipv6> for Icmpv6Packet<B>