Module io

Source
Expand description

Asynchronous io.

Structs§

BufCursor
Two layer cursor buffer reading.
BufReader
An implementation of AsyncBufRead with given AsyncIoRead.

Traits§

AsyncBufRead
An AsyncIoRead with internal buffer.
AsyncIoRead
Asynchronous io read operation.
AsyncIoWrite
Asynchronous io write operation.

Functions§

poll_read_fn
Tries to read data from the stream into the provided buffer, advance buffer cursor, returning how many bytes were read.