Module async

Source
Expand description

Async reliable message reception trait and its helpers.

Structs§

DiscardMsg
Future type returned by .discard_msg(.
Recv
Future type returned by .recv_msg(.
RecvTrunc
Future type returned by .recv_trunc(.
RecvTruncWithFullSize
Future type returned by .recv_trunc_with_full_size(.
TryRecv
Future type returned by .try_recv_msg(.

Traits§

RecvMsg
Implementation of asynchronously receiving from socket-like connections with message boundaries reliably, without truncation.
RecvMsgExt
Futures for asynchronously receiving from socket-like connections with message boundaries reliably, without truncation.
TruncatingRecvMsg
Implementation of reception from socket-like connections with message boundaries with truncation detection.
TruncatingRecvMsgExt
Futures for reception from socket-like connections with message boundaries with truncation detection.
TruncatingRecvMsgWithFullSize
Like TruncatingRecvMsg, but reports the exact true size of truncated messages.
TruncatingRecvMsgWithFullSizeExt
Like TruncatingRecvMsgExt, but reports the exact true size of truncated messages.

Functions§

poll_recv_trunc_via_poll_recv_trunc_with_full_size
Implements TruncatingRecvMsg::poll_recv_trunc() via TruncatingRecvMsgWithFullSize::poll_recv_trunc_with_full_size().
poll_recv_via_poll_recv_trunc
Implements RecvMsg::poll_recv_msg() via TruncatingRecvMsg::poll_recv_trunc().
poll_recv_via_poll_try_recv
Implements RecvMsg::poll_recv_msg() via TruncatingRecvMsgWithFullSizeExt::try_recv_msg().