Module split

Module split 

Source
Available on crate feature io only.
Expand description

Functionality to split an I/O type into separate read and write halves.

Structs§

ReadHalf
The readable half of a value returned from split.
Split
Splitting an I/O type into separate read and write halves
WriteHalf
The writable half of a value returned from split.

Traits§

Splittable
A trait for types that can be split into separate read and write halves.

Functions§

split
Splits a single value implementing AsyncRead + AsyncWrite into separate AsyncRead and AsyncWrite handles with or without internal synchronization dependes on whether sync feature is turned on.