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
n
bytes 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
n
bytes intobuf
. - try_
read_ full - Creates a future which will read as many bytes as possible into
buf
and return the number of bytes read.