Module windows

Module windows 

Source
Expand description

A unified stream type for both TCP and Unix domain sockets.

This module is to keep the API consistency across different platforms. On Windows, only TCP sockets are supported.

Structsยง

OwnedReadHalf
Owned read half of a TcpStream, created by into_split.
OwnedWriteHalf
Owned write half of a TcpStream, created by into_split.
UniListener
A simple wrapper of tokio::net::TcpListener.
UniSocket
A simple wrapper of tokio::net::TcpSocket.
UniStream
A simple wrapper of tokio::net::TcpStream.