netstack3_core::icmp

Trait IcmpEchoBindingsContext

Source
pub trait IcmpEchoBindingsContext<I, D>:
    IcmpEchoBindingsTypes
    + ReferenceNotifiers
    + RngContext
where I: IpExt, D: StrongDeviceIdentifier,
{ // Required method fn receive_icmp_echo_reply<B>( &mut self, conn: &IcmpSocketId<I, <D as StrongDeviceIdentifier>::Weak, Self>, device_id: &D, src_ip: <I as Ip>::Addr, dst_ip: <I as Ip>::Addr, id: u16, data: B, ) where B: BufferMut; }
Expand description

The context required by the ICMP layer in order to deliver events related to ICMP sockets.

Required Methods§

Source

fn receive_icmp_echo_reply<B>( &mut self, conn: &IcmpSocketId<I, <D as StrongDeviceIdentifier>::Weak, Self>, device_id: &D, src_ip: <I as Ip>::Addr, dst_ip: <I as Ip>::Addr, id: u16, data: B, )
where B: BufferMut,

Receives an ICMP echo reply.

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.

Implementors§