Module 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§

Inner 🔒
ReadHalf
The readable half of a value returned from split.
WriteHalf
The writable half of a value returned from split.

Functions§

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