Crate async_tcp

Source
Expand description

This crate provides TcpListener and TcpStream, two traits that can be implemented by any async versions of std::net::TcpListener and std::net::TcpStream.

Structs§

Accept
Future returned by the TcpListener::accept() method.
Bind
Future returned by the TcpListener::bind() method.
Connect
Future returned by the TcpStream::connect() method.
Incoming
Stream returned by the TcpListener::incoming() method.

Traits§

TcpListener
A TCP socket server, listening for connections.
TcpStream
A TCP stream between a local and a remote socket.