Crate futures_io

Crate futures_io 

Source
Expand description

Asynchronous I/O

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

All items of this library are only available when the std feature of this library is activated, and it is activated by default.

Re-exports§

pub use io::Error;
pub use io::ErrorKind;
pub use io::IoSlice;
pub use io::IoSliceMut;
pub use io::Result;
pub use io::SeekFrom;

Traits§

AsyncBufReadstd
Read bytes asynchronously.
AsyncReadstd
Read bytes asynchronously.
AsyncSeekstd
Seek bytes asynchronously.
AsyncWritestd
Write bytes asynchronously.