Does async::net::TcpStream have read while tokio::net::TcpStream does not?

I am not sure if I am misreading the documentations* :

Am I mis-reading something? If not, can someone clarify on why the two async libs diverged on this issue?

AsyncReadExt does provide a read() method.

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.