Modules

The async I/O prelude.

Macros

Declares task-local values.

Structs

Adds buffering to any reader.

Wraps a writer and buffers its output.

A stream over u8 values of a reader.

Adaptor to chain together two readers.

A Cursor wraps an in-memory buffer and provides it with a Seek implementation.

A reader that contains no data.

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

An error returned by into_inner which combines an error that happened while writing out the buffer, and the buffered writer object which may be used to recover from the condition.

A buffer type used with Write::write_vectored.

A buffer type used with Read::read_vectored.

A stream of lines in a byte stream.

A reader which yields one byte over and over and over and over and over and…

A writer that consumes and drops all data.

A stream over the contents of an instance of BufRead split on a particular byte.

A handle to the standard error of the current process.

A handle to the standard input of the current process.

A handle to the standard output of the current process.

Reader adaptor which limits the bytes read from an underlying reader.

Enums

A list specifying general categories of I/O error.

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

Traits

Read bytes asynchronously.

A stream able to yield elements from both ends.

A stream that knows its exact length.

A future represents an asynchronous computation obtained by use of async.

Extension methods for Future.

Read bytes asynchronously.

Extension methods for Read.

Seek bytes asynchronously.

A stream of values produced asynchronously.

Extension methods for Stream.

Write bytes asynchronously.

Extension methods for Write.

Read bytes asynchronously.

Write bytes asynchronously.

Extension methods for BufRead.

Extension methods for Read.

Extension methods for Seek.

Extension methods for Write.

Read bytes asynchronously.

Seek bytes asynchronously.

Functions

Copies the entire contents of a reader into a writer.

Creates a reader that contains no data.

Creates an instance of a reader that infinitely repeats one byte.

Creates a writer that consumes and drops all data.

Constructs a new handle to the standard error of the current process.

Constructs a new handle to the standard input of the current process.

Constructs a new handle to the standard output of the current process.

Awaits an I/O future or times out after a duration of time.

Type Definitions

A specialized Result type for I/O operations.