pub trait SendDatagramExt<B: Buf> {
type Error: Into<Box<dyn Error>>;
// Required method
fn send_datagram(&mut self, data: Datagram<B>) -> Result<(), Self::Error>;
}Expand description
Extends the Connection trait for sending datagrams