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§
Implementors§
impl<'a, T: IP6Sender<'a>> IP6SendClient for ICMP6SendStruct<'a, T>
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
.