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§
Sourcefn 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,
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,
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.