Module completion::io[][src]

This is supported on crate feature std only.

Utilities for programming with asynchronous I/O.

Re-exports

pub use std::io::empty;
pub use std::io::repeat;
pub use std::io::sink;
pub use std::io::Cursor;
pub use std::io::Empty;
pub use std::io::Error;
pub use std::io::ErrorKind;
pub use std::io::IoSlice;
pub use std::io::Repeat;
pub use std::io::Result;
pub use std::io::SeekFrom;
pub use std::io::Sink;
pub use completion_io::ReadCursor;
pub use completion_io::ReadRepeat;
pub use completion_io::ReadSlice;
pub use completion_io::SeekCursor;
pub use completion_io::WriteSlice;
pub use completion_io::WriteVec;
pub use completion_io::WriteVectoredSlice;
pub use completion_io::WriteVectoredVec;

Structs

BufReader

Add buffering to any reader.

BufWriter

Buffer the output of a writer.

Chain

Reader for AsyncReadExt::chain.

Copy

Future for copy.

CopyBuf

Future for copy_buf.

DefaultWriteVectored

A default implementation of WriteVectoredFuture for types that don’t have efficient vectored writes.

FillBufBufReader

Future for fill_buf on a BufReader.

FillBufChain

Future for fill_buf on a Chain.

FillBufTake

Future for fill_buf on a Take.

FillBufTakeUntil

Future for fill_buf on a TakeUntil.

FlushBufWriter

Future for flush on a BufWriter.

Lines

Stream for AsyncBufReadExt::lines.

ReadBuf

A wrapper around a byte buffer that is incrementally filled and initialized.

ReadBufMut

A type that grants mutable access to a ReadBuf.

ReadBufReader

Future for read on a BufReader.

ReadChain

Future for read on a Chain.

ReadExact

Future for AsyncReadExt::read_exact.

ReadLine

Future for AsyncReadExt::read_line.

ReadTake

Future for read on a Take.

ReadTakeUntil

Future for read on a TakeUntil.

ReadToEnd

Future for AsyncReadExt::read_to_end.

ReadToString

Future for AsyncReadExt::read_to_string.

ReadUntil

Future for AsyncReadExt::read_until.

Split

Stream for AsyncBufReadExt::split.

StreamPosition

Future for AsyncSeekExt::stream_position.

Take

Reader for AsyncReadExt::take.

TakeUntil

Reader for AsyncReadExt::take_until.

WriteAll

Future for AsyncWriteExt::write_all.

WriteBufWriter

Future for write on a BufWriter.

WriteVectoredBufWriter

Future for write_vectored on a BufWriter.

Traits

AsyncBufRead

Read bytes from a source that has an internal buffer asynchronously.

AsyncBufReadExt

Extension trait for AsyncBufRead.

AsyncBufReadWith

Read bytes from a source that has an internal buffer asynchronously with a specific lifetime.

AsyncRead

Read bytes from a source asynchronously.

AsyncReadExt

Extension trait for AsyncRead.

AsyncReadWith

Read bytes from a source asynchronously with a specific lifetime.

AsyncSeek

A cursor which can be moved within a stream of bytes.

AsyncSeekExt

Extension trait for AsyncSeek.

AsyncSeekWith

A cursor which can be moved within a stream of bytes with a specific lifetime.

AsyncWrite

Write bytes to a source asynchronously.

AsyncWriteExt

Extension trait for AsyncWrite.

AsyncWriteWith

Write bytes to a source asynchronously with a specific lifetime.

Functions

copy

Copy the entire contents of a reader into a writer.

copy_buf

Copy the entire contents of a buffered reader into a writer.