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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".