Module protocol

Source
Expand description

Underlying transport protocols.

Structs§

DgramRecv
Return value of recv. This captures the future for recv.
DgramSend
This is the return value of send. It captures the future for send.
TcpConnect
Create new TCP connections.
UdpConnect
Create new UDP connections.

Traits§

AsyncConnect
Establish a connection asynchronously.
AsyncDgramRecv
Receive a datagram packets asynchronously.
AsyncDgramRecvEx
Convenvience trait to turn poll_recv into an asynchronous function.
AsyncDgramSend
Send a datagram packet asynchronously.
AsyncDgramSendEx
Convenience trait that turns poll_send into an asynchronous function.