#async #io #net #tcp

async-tcp

Traits implementable by async versions of TcpListener and TcpStream

2 unstable releases

0.2.0 Aug 27, 2020
0.1.0 Aug 27, 2020
0.0.0 May 4, 2019

#4 in #net

MPL-2.0 license

32KB
194 lines

Trais implementable by async version of TcpListener and TcpStream

img img img

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

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.


lib.rs:

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

Dependencies

~340–550KB
~10K SLoC