Module tokio::io::util::read

source ·

Structs§

  • A future which can be used to easily read available number of bytes to fill a buffer.

Functions§

  • read 🔒
    Tries to read some bytes directly into the given buf in asynchronous manner, returning a future type.