Crate completion_io[][src]

Core traits and types for asynchronous completion-based I/O.

See completion for utilities based on this.

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;

Structs

DefaultWriteVectored

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

ReadBuf

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

ReadBufMut

A type that grants mutable access to a ReadBuf.

ReadCursor

Future for read on a Cursor.

ReadRepeat

Future for read on a Repeat.

ReadSlice

Future for read on a byte slice (&[u8]).

SeekCursor

Future for seek on a Cursor.

WriteSlice

Future for write on a byte slice (&mut [u8]).

WriteVec

Future for write on a Vec<u8>.

WriteVectoredSlice

Future for write_vectored on a byte slice (&mut [u8]).

WriteVectoredVec

Future for write_vectored on a Vec<u8>.

Traits

AsyncBufRead

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

AsyncBufReadWith

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

AsyncRead

Read bytes from a source asynchronously.

AsyncReadWith

Read bytes from a source asynchronously with a specific lifetime.

AsyncSeek

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

AsyncSeekWith

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

AsyncWrite

Write bytes to a source asynchronously.

AsyncWriteWith

Write bytes to a source asynchronously with a specific lifetime.