tokio::io::util

Module read_exact

Source

Structs§

  • Creates a future which will read exactly enough bytes to fill buf, returning an error if EOF is hit sooner.

Functions§

  • eof 🔒
  • read_exact 🔒
    A future which can be used to easily read exactly enough bytes to fill a buffer.