tcp: remove shutdown()
fn on TcpStream
in favor of AsyncWrite::shutdown()
#3294
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-net
Module: tokio/net
Milestone
The trait function calls
shutdown(WRITE)
. The duplication is confusing and causes some naming conflicts.Access to the syscall is available by accessing the
std
socket and callingshutdown()
on that.This would also apply to
UnixStream
The text was updated successfully, but these errors were encountered: