Crate tokio_io_utility

Source

Macros§

Structs§

Traits§

Functions§

  • nread - bytes to read in
  • 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 of bytes. The lower bound must not be larger than the upper bound.
  • Try to fill data from reader into the spare capacity of vec.
  • 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 of bytes. The lower bound must not be larger than the upper bound.
  • Return true if the bufs contains at least one byte.