[][src]Crate futures_io

Asynchronous I/O

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

Structs

Error

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

Initializer

A type used to conditionally initialize buffers passed to AsyncRead methods, modeled after std.

IoSlice

A buffer type used with Write::write_vectored.

IoSliceMut

A buffer type used with Read::read_vectored.

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.