Module futures_util::io
source · 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
. - The
BufReader
struct adds buffering to any reader. - Future for the
close
method. - Future for the
copy_into
method. - Future for the
flush
method. - A buffer type used with
Write::write_vectored
. - A buffer type used with
Read::read_vectored
. - Stream for the
lines
method. - Future for the
read
method. - Future for the
read_exact
method. - The readable half of an object returned from
AsyncRead::split
. - Future for the
read_line
method. - Future for the
read_to_end
method. - Future for the
read_until
method. - Future for the
seek
method. - A owned window around an underlying buffer.
- Future for the
write_all
method. - The writable half of an object returned from
AsyncRead::split
.
Enums§
- Enumeration of possible methods to seek within an I/O object.
Traits§
- Read bytes asynchronously.
- An extension trait which adds utility methods to
AsyncBufRead
types. - Read bytes asynchronously.
- An extension trait which adds utility methods to
AsyncRead
types. - Seek bytes asynchronously.
- An extension trait which adds utility methods to
AsyncSeek
types. - Write bytes asynchronously.
- An extension trait which adds utility methods to
AsyncWrite
types.