capsules_extra::net::ipv6::ipv6_send

Trait IP6SendClient

Source
pub trait IP6SendClient {
    // Required method
    fn send_done(&self, result: Result<(), ErrorCode>);
}
Expand description

Client trait for receiving transmission completiong events.

The upper layer must then call IP6Sender.set_client in order to receive this callback.

Required Methods§

Source

fn send_done(&self, result: Result<(), ErrorCode>)

Implementors§

Source§

impl<'a, T: IP6Sender<'a>> IP6SendClient for ICMP6SendStruct<'a, T>

Source§

impl<'a, T: IP6Sender<'a>> IP6SendClient for MuxUdpSender<'a, T>

This function implements the IP6SendClient trait for the UDPSendStruct, and is necessary to receive callbacks from the lower (IP) layer. When the UDP layer receives this callback, it forwards it to the UDPSendClient.