Expand description
This library provides functions that are similar but not equal to tokio-io functions.
These functions can be more specialized or provide more control for performing asynchronous io.
Structs§
- ReadN
- A future which can be used to read exactly
nbytes into a buffer. - TryRead
Full - A future which can be used to read as many bytes as possible into a buffer.
Functions§
- read_n
- Creates a future which will read exactly
nbytes intobuf. - try_
read_ full - Creates a future which will read as many bytes as possible into
bufand return the number of bytes read.