Trait domain::net::client::protocol::AsyncDgramSendEx

source ·
pub trait AsyncDgramSendEx: AsyncDgramSend {
    // Provided method
    fn send<'a>(&'a self, buf: &'a [u8]) -> DgramSend<'a, Self> 
       where Self: Unpin { ... }
}
Expand description

Convenience trait that turns poll_send into an asynchronous function.

Provided Methods§

source

fn send<'a>(&'a self, buf: &'a [u8]) -> DgramSend<'a, Self>
where Self: Unpin,

Asynchronous function to send a packet.

Object Safety§

This trait is not object safe.

Implementors§