netstack3_ip::nud

Trait NudSenderContext

Source
pub trait NudSenderContext<I: Ip, D: LinkDevice, BC>: NudConfigContext<I> + DeviceIdContext<D> {
    // Required method
    fn send_ip_packet_to_neighbor_link_addr<S>(
        &mut self,
        bindings_ctx: &mut BC,
        neighbor_link_addr: D::Address,
        body: S,
    ) -> Result<(), SendFrameError<S>>
       where S: Serializer,
             S::Buffer: BufferMut;
}
Expand description

The execution context for NUD for a link device that allows sending IP packets to specific neighbors.

Required Methods§

Send an IP frame to the neighbor with the specified link address.

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§