[][src]Module futures_util::io

IO

This module contains a number of functions for working with AsyncRead and AsyncWrite types, including the AsyncReadExt and AsyncWriteExt traits which add methods to the AsyncRead and AsyncWrite types.

Structs

AllowStdIo

A simple wrapper type which allows types which implement only implement std::io::Read or std::io::Write to be used in contexts which expect an AsyncRead or AsyncWrite.

Close

Future for the close method.

CopyInto

Future for the copy_into method.

Flush

Future for the flush method.

IoVec

A specialized byte slice type for performing vectored I/O operations.

Read

Future for the read method.

ReadExact

Future for the read_exact method.

ReadHalf

The readable half of an object returned from AsyncRead::split.

ReadToEnd

Future for the read_to_end method.

Window

A owned window around an underlying buffer.

WriteAll

Future for the write_all method.

WriteHalf

The writable half of an object returned from AsyncRead::split.

Traits

AsyncRead

Read bytes asynchronously.

AsyncReadExt

An extension trait which adds utility methods to AsyncRead types.

AsyncWrite

Write bytes asynchronously.

AsyncWriteExt

An extension trait which adds utility methods to AsyncWrite types.