[][src]Module tokio_io::split

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

ReadHalf

The readable half of a value returned from split.

WriteHalf

The writable half of a value returned from split.

Functions

split

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