[][src]Module flv_future_aio::io

Modules

prelude

The async I/O prelude.

Macros

task_local

Declares task-local values.

Structs

BufReader

Adds buffering to any reader.

BufWriter

Wraps a writer and buffers its output.

Bytes

A stream over u8 values of a reader.

Chain

Adaptor to chain together two readers.

Cursor

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

Empty

A reader that contains no data.

Error

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

IntoInnerError

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.

IoSlice

A buffer type used with Write::write_vectored.

IoSliceMut

A buffer type used with Read::read_vectored.

Lines

A stream of lines in a byte stream.

Repeat

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

Sink

A writer that consumes and drops all data.

Stderr

A handle to the standard error of the current process.

StderrLock

A locked reference to the Stderr handle.

Stdin

A handle to the standard input of the current process.

StdinLock

A locked reference to the Stdin handle.

Stdout

A handle to the standard output of the current process.

StdoutLock

A locked reference to the Stderr handle.

Take

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

Enums

ErrorKind

A list specifying general categories of I/O error.

SeekFrom

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

Traits

AsyncBufReadExt

An extension trait which adds utility methods to AsyncBufRead types.

AsyncReadExt

An extension trait which adds utility methods to AsyncRead types.

AsyncSeekExt

An extension trait which adds utility methods to AsyncSeek types.

AsyncWrite

Write bytes asynchronously.

AsyncWriteExt

An extension trait which adds utility methods to AsyncWrite types.

BufRead

Read bytes asynchronously.

DoubleEndedStream

A stream able to yield elements from both ends.

ExactSizeStream

A stream that knows its exact length.

Future

A future represents an asynchronous computation.

FutureExt

Extension methods for Future.

Read

Read bytes asynchronously.

ReadExt

Extension methods for Read.

Seek

Seek bytes asynchronously.

Stream

A stream of values produced asynchronously.

StreamExt

Extension methods for Stream.

Write

Write bytes asynchronously.

_

Read bytes asynchronously.

_

Extension methods for BufRead.

_

Extension methods for Read.

_

Extension methods for Seek.

_

Extension methods for Write.

_

Read bytes asynchronously.

_

Seek bytes asynchronously.

_

Write bytes asynchronously.

Functions

copy

Copies the entire contents of a reader into a writer.

empty

Creates a reader that contains no data.

repeat

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

sink

Creates a writer that consumes and drops all data.

stderr

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

stdin

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

stdout

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

timeout

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

Type Definitions

Result

A specialized Result type for I/O operations.