netstack3_base

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IcmpIpExt for Ipv4

Source§

impl IcmpIpExt for Ipv6

Implementors§