#async #async-io #net #async-version #tcp #io

async-tcp

Traits implementable by async versions of TcpListener and TcpStream

Show the crate…

2 unstable releases

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

#22 in #async-version

MPL-2.0 license

33KB
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

~0.3–12MB
~102K SLoC