Module tokio::io::util::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 🔒
- A future which can be used to easily read exactly enough bytes to fill a buffer.