Expand description
Functionality to split an I/O type into separate read and write halves.
Structs§
- Read
Half - The readable half of a value returned from
split
. - Split
- Splitting an I/O type into separate read and write halves
- Unsync
Read Half - The readable half of a value returned from
split
. - Unsync
Split - Enables splitting an I/O type into separate read and write halves without requiring thread-safety.
- Unsync
Write Half - The writable half of a value returned from
split
. - Write
Half - 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 separateAsyncRead
andAsyncWrite
handles.with internal synchronization. - split_
unsync - Splits a single value implementing
AsyncRead + AsyncWrite
into separateAsyncRead
andAsyncWrite
handles without internal synchronization (notSend
andSync
).