Module io

Source
Available on crate feature io only.
Expand description

Asynchronous IO

Structs§

BufReader
The BufReader struct adds buffering to any reader.
Read
A future which can be used to easily read available number of bytes to fill a buffer.
Reader
WriteAll
Writer

Traits§

AsyncBufRead
AsyncRead
Read bytes asynchronously.
AsyncWrite

Functions§

copy_buf
Asynchronously copies the entire contents of a reader into a writer.
reader
Reader for a stream of bytes
writer
Writer for a sink of bytes