Module split

Module split 

Source
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
UnsyncReadHalf
The readable half of a value returned from split.
UnsyncSplit
Enables splitting an I/O type into separate read and write halves without requiring thread-safety.
UnsyncWriteHalf
The writable half of a value returned from split.
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 internal synchronization.
split_unsync
Splits a single value implementing AsyncRead + AsyncWrite into separate AsyncRead and AsyncWrite handles without internal synchronization (not Send and Sync).