Trait netstack3_base::IcmpIpExt

source ·
pub trait IcmpIpExt: IpExt + IcmpIpExt {
    type ErrorCode: Debug + Copy + PartialEq + GenericOverIp<Self, Type = Self::ErrorCode> + GenericOverIp<Ipv4, Type = Icmpv4ErrorCode> + GenericOverIp<Ipv6, Type = Icmpv6ErrorCode> + Into<IcmpErrorCode>;
}
Expand description

An extension trait adding extra ICMP-related functionality to IP versions.

Required Associated Types§

source

type ErrorCode: Debug + Copy + PartialEq + GenericOverIp<Self, Type = Self::ErrorCode> + GenericOverIp<Ipv4, Type = Icmpv4ErrorCode> + GenericOverIp<Ipv6, Type = Icmpv6ErrorCode> + Into<IcmpErrorCode>

The type of error code for this version of ICMP - Icmpv4ErrorCode or Icmpv6ErrorCode.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IcmpIpExt for Ipv4

source§

impl IcmpIpExt for Ipv6

Implementors§