#async-io #async-read #async-write #single #combine #type #seperate

tokio-duplex

Combine seperate AsyncRead and AsyncWrite types into a single AsyncRead + AsyncWrite type

2 stable releases

1.0.1 May 28, 2022
0.1.0 May 28, 2022

#1201 in Asynchronous

Download history 133/week @ 2024-03-31 66/week @ 2024-04-07 45/week @ 2024-04-14 124/week @ 2024-04-21 156/week @ 2024-04-28 105/week @ 2024-05-05 85/week @ 2024-05-12 204/week @ 2024-05-19 57/week @ 2024-05-26 132/week @ 2024-06-02 81/week @ 2024-06-09 35/week @ 2024-06-16 112/week @ 2024-06-23 59/week @ 2024-06-30 121/week @ 2024-07-07 130/week @ 2024-07-14

426 downloads per month

MIT/Apache

4KB
53 lines

This crate provides only a single type (Duplex), which allows combining an AsyncRead type and an AsyncWrite type into a single AsyncRead + AsyncWrite type.

Dependencies

~2–3MB
~46K SLoC