Function tokio::io::split [−][src]
Expand description
Splits a single value implementing AsyncRead + AsyncWrite
into separate
AsyncRead
and AsyncWrite
handles.
To restore this read/write object from its ReadHalf
and
WriteHalf
use unsplit
.