async-socket
This crate implements a general-purpose asynchronous socket.
The Socket
implements AsyncRead, AsyncWrite, Stream and Clone
traits and thus mimics the functionality and the behaviour of the
TcpStream and UnixStream objects. These propertis makes it a perfect
tool for testing network activities and events.
Usage
Example:
use Socket;
use spawn;
use AsyncWriteExt;
use StreamExt;
async
License: MIT