Module tokio::net

source ·
Expand description

TCP/UDP/Unix bindings for tokio.

This module contains the TCP/UDP/Unix networking types, similar to the standard library, which can be used to implement networking protocols.

Organization

Modules

TCP bindings for tokio.
UDP bindings for tokio.
Unix domain socket bindings for tokio (only available on unix systems).

Structs

An I/O object representing a TCP socket listening for incoming connections.
An I/O object representing a TCP stream connected to a remote endpoint.
A unified Stream and Sink interface to an underlying UdpSocket, using the Encoder and Decoder traits to encode and decode frames.
An I/O object representing a UDP socket.
An I/O object representing a Unix datagram socket.
A unified Stream and Sink interface to an underlying UnixDatagram, using the Encoder and Decoder traits to encode and decode frames.
A Unix socket which can accept connections from other Unix sockets.
A structure representing a connected Unix socket.