Trait capsules_extra::net::udp::udp_send::UDPSendClient

source ·
pub trait UDPSendClient {
    // Required method
    fn send_done(
        &self,
        result: Result<(), ErrorCode>,
        dgram: SubSliceMut<'static, u8>,
    );
}
Expand description

The send_done function in this trait is invoked after the UDPSender has completed sending the requested packet. Note that the UDPSender::set_client method must be called to set the client.

Required Methods§

source

fn send_done( &self, result: Result<(), ErrorCode>, dgram: SubSliceMut<'static, u8>, )

Implementors§

source§

impl<'a> UDPSendClient for UDPDriver<'a>

source§

impl<'a, A: Alarm<'a>> UDPSendClient for MockUdp<'a, A>

source§

impl<'a, A: Alarm<'a>> UDPSendClient for ThreadNetworkDriver<'a, A>