Crate tokio_ioext [] [src]

This library provides functions that are similar but not equal to tokio-io functions.

These functions can be more specialized or provide more control for performing asynchronous io.

Structs

ReadN

A future which can be used to read exactly n bytes into a buffer.

TryReadFull

A future which can be used to read as many bytes as possible into a buffer.

Functions

read_n

Creates a future which will read exactly n bytes into buf.

try_read_full

Creates a future which will read as many bytes as possible into buf and return the number of bytes read.