Module tokio::io::split

source ·
Expand description

Split a single value implementing AsyncRead + AsyncWrite into separate AsyncRead and AsyncWrite handles.

To restore this read/write object from its split::ReadHalf and split::WriteHalf use unsplit.

Structs§

Functions§

  • Splits a single value implementing AsyncRead + AsyncWrite into separate AsyncRead and AsyncWrite handles.