Module io

Source
Expand description

I/O extension traits.

Traits§

IoExt
Extension trait for I/O handles that are exterior-mutable readable and writeable.
IsReadWrite
A trait for the is_read_write function.
Peek
A trait providing the peek function for reading without consuming.
ReadReady
Extension for readable streams that can indicate the number of bytes ready to be read immediately.

Functions§

peek_from_bufread
Implement peek for types that implement BufRead.