Expand description
Traits for async send and receive of datagrams.
Datagrams are self-contained messages that are not split or combined when sent or received and instead always maintain their original message boundaries.
This is different from bytes sent or received over a byte stream (as in
[futures::AsyncRead
]), where one send can be split into multiple receives,
or multiple sends can be combined into one receive.
Structs§
- Recv
- A future for
AsyncRecvExt::recv
. - Recv
Exact - A future for
AsyncRecvExt::recv_exact
. - Recv
Vectored - A future for
AsyncRecvExt::recv_vectored
. - Send
- A future for
AsyncSendExt::send
. - Send
Vectored - A future for
AsyncSendExt::send_vectored
.
Traits§
- Async
Recv - Trait implemented by types that can receive datagrams.
- Async
Recv Ext - Extension trait for
AsyncRecv
. - Async
Send - A trait implemented by types that can send datagrams.
- Async
Send Ext - Extension trait for
AsyncSend
.