Trait salvo_core::proto::quic::SendDatagramExt
source · pub trait SendDatagramExt<B>where
B: Buf,{
type Error: Into<Box<dyn Error>>;
// Required method
fn send_datagram(&mut self, data: Datagram<B>) -> Result<(), Self::Error>;
}
Available on crate feature
quinn
only.Expand description
Extends the Connection
trait for sending datagrams