Module tcp

Source
Expand description

TCP utility types.

Modulesยง

listener ๐Ÿ”’
socket ๐Ÿ”’
split ๐Ÿ”’
TcpStream split support.
split_owned ๐Ÿ”’
TcpStream owned split support.
stream ๐Ÿ”’

Structsยง

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.