Skip to main content

Module io

Module io 

Source
Expand description

IO traits, implemented by streams from net.

Structs§

FrameReader
Reads frames of exactly N bytes from an AsyncRead.
FrameWriter
Writes frames of exactly N bytes to an AsyncWrite.

Enums§

FrameReaderError
An error returned from FrameReader::read_exact.
FrameWriterError
An error returned from FrameWriter::write_all and FrameWriter::flush.
ReadExactError
An error returned from AsyncReadExt::read_exact.
WriteAllError
An error returned from AsyncWriteExt::write_all.

Traits§

AsyncRead
A stream that can be read from asynchronously.
AsyncReadExt
Helper methods on top of AsyncRead, implemented for every AsyncRead.
AsyncWrite
A stream that can be written to asynchronously.
AsyncWriteExt
Helper methods on top of AsyncWrite, implemented for every AsyncWrite.