Module tokio::net::tcp

source · []
Expand description

TCP utility types

Structs

Stream returned by the TcpListener::incoming function representing the stream of sockets received from a listener.

Owned read half of a TcpStream, created by into_split.

Owned write half of a TcpStream, created by into_split.

Borrowed read half of a TcpStream, created by split.

Error indicating that two halves were not from the same socket, and thus could not be reunited.

Borrowed write half of a TcpStream, created by split.