Module ore::netio::read_exact[][src]

This is supported on crate feature network only.

Structs

A future which reads exactly enough bytes to fill a buffer, unless EOF is reached first.

Functions

Creates a future which will read exactly enough bytes to fill buf, unless EOF is reached first. If a short read should be considered an error, use tokio::io::AsyncReadExt::read_exact instead.