Macros§
- ready
- Replacement for
std::task::ready
.
Structs§
- Read
Exact ToVec Future - Returned future of
read_exact_to_vec
. - Read
ToContainer RngFuture - Read
ToVec Future - Returned future of
read_to_vec
. - Read
ToVec RngFuture - Returned future of
read_to_vec_rng
. - Reusable
IoSlices Box
edIoSlice
that can be reused for different io_slices with different lifetime.
Traits§
Functions§
- assert_
send - init_
maybeuninit_ io_ slices_ mut - read_
exact_ to_ vec nread
- bytes to read in- read_
to_ container_ rng rng
- The start of the range specify the minimum of bytes to read in, while the end of the range specify the maximum of bytes that can be read in. If the lower bound is not specified, it is default to 0. If the upper bound is not specified, it is default to the capacity ofbytes
. The lower bound must not be larger than the upper bound.- read_
to_ vec - Try to fill data from
reader
into the spare capacity ofvec
. - read_
to_ vec_ rng rng
- The start of the range specify the minimum of bytes to read in, while the end of the range specify the maximum of bytes that can be read in. If the lower bound is not specified, it is default to 0. If the upper bound is not specified, it is default to the capacity ofbytes
. The lower bound must not be larger than the upper bound.- write_
vectored_ all - Return true if the
bufs
contains at least one byte.