Module tokio::net::tcp[][src]

TCP utility types

Structs

Incoming

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

OwnedReadHalf

Owned read half of a TcpStream, created by into_split.

OwnedWriteHalf

Owned write half of a TcpStream, created by into_split.

ReadHalf

Borrowed read half of a TcpStream, created by split.

ReuniteError

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

WriteHalf

Borrowed write half of a TcpStream, created by split.