[][src]Crate futures_io

Asynchronous I/O

This crate contains the AsyncRead, AsyncWrite, AsyncSeek, and AsyncBufRead traits, the asynchronous analogs to std::io::{Read, Write, Seek, BufRead}. The primary difference is that these traits integrate with the asynchronous task system.

All items of this library are only available when the std feature of this library is activated, and it is activated by default.

Structs

Error

The error type for I/O operations of the Read, Write, Seek, and associated traits.

IoSlice

A buffer type used with Write::write_vectored.

IoSliceMut

A buffer type used with Read::read_vectored.

InitializerExperimental

A type used to conditionally initialize buffers passed to Read methods.

Enums

ErrorKind

A list specifying general categories of I/O error.

SeekFrom

Enumeration of possible methods to seek within an I/O object.

Traits

AsyncBufRead

Read bytes asynchronously.

AsyncRead

Read bytes asynchronously.

AsyncSeek

Seek bytes asynchronously.

AsyncWrite

Write bytes asynchronously.

Type Definitions

Result

A specialized Result type for I/O operations.