问题
This previous answer does not work anymore since TCPStream does not have clone() anymore.
回答1:
You can use try_clone to get multiple handles for the stream.
来源:https://stackoverflow.com/questions/35969943/how-to-read-and-write-to-a-tcpstream-simultaneously