Expand description
IO tasks.
Most of the types in this module are re-exported from futures_lite::io
.
Structs§
- Adds buffering to a reader.
- Adds buffering to a writer.
- Represents the cloneable parts of an
Error
. - Gives an in-memory buffer a cursor for reading and writing.
- Multiple consumer buffered read.
- Measure read/write of an async task.
- Information about the state of an async IO task.
- The read half returned by
split()
. - Represents a future that generates an error if an
AsyncRead
exceeds a limit. - The write half returned by
split()
.
Statics§
- Metrics in a
Progress::with_meta
metadata.
Traits§
- Read bytes asynchronously.
- Extension trait for
AsyncBufRead
. - Read bytes asynchronously.
- Extension trait for
AsyncRead
. - Seek bytes asynchronously.
- Extension trait for
AsyncSeek
. - Write bytes asynchronously.
- Extension trait for
AsyncWrite
. - Extension methods for
std::io::Error
to be used with errors returned byMcBufReader
.
Functions§
- Copies the entire contents of a reader into a writer.
- Creates an empty reader.
- Creates an infinite reader that reads the same byte repeatedly.
- Creates a writer that consumes and drops all data.
- Splits a stream into
AsyncRead
andAsyncWrite
halves.
Type Aliases§
- Type alias for
Pin<Box<dyn AsyncRead + Send + 'static>>
. - Type alias for
Pin<Box<dyn AsyncWrite + Send + 'static>>
.