Expand description
IO
This module contains a number of functions for working with
AsyncRead
and AsyncWrite
types, including the
AsyncReadExt
and AsyncWriteExt
traits which add methods
to the AsyncRead
and AsyncWrite
types.
Structs§
- A simple wrapper type which allows types which implement only implement
std::io::Read
orstd::io::Write
to be used in contexts which expect anAsyncRead
orAsyncWrite
. - A future used to fully close an I/O object.
- A future which will copy all data from a reader into a writer.
- A future used to fully flush an I/O object.
- A specialized byte slice type for performing vectored I/O operations.
- A future which can be used to easily read available number of bytes to fill a buffer.
- A future which can be used to easily read exactly enough bytes to fill a buffer.
- The readable half of an object returned from
AsyncRead::split
. - A future which can be used to easily read the entire contents of a stream into a vector.
- A owned window around an underlying buffer.
- A future used to write the entire contents of some data to a stream.
- The writable half of an object returned from
AsyncRead::split
.
Traits§
- Read bytes asynchronously.
- An extension trait which adds utility methods to
AsyncRead
types. - Write bytes asynchronously.
- An extension trait which adds utility methods to
AsyncWrite
types.