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
TcpListener
andTcpStream
provide functionality for communication over TCPUdpSocket
andUdpFramed
provide functionality for communication over UDPUnixListener
andUnixStream
provide functionality for communication over a Unix Domain Stream Socket (available on Unix only)UnixDatagram
andUnixDatagramFramed
provide functionality for communication over Unix Domain Datagram Socket (available on Unix only)
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.