Crate bare_io

Source

Structs§

BufReader
The BufReader<R, S> struct adds buffering to any reader.
BufWriter
Wraps a writer and buffers its output.
Bytes
An iterator over u8 values of a reader.
Chain
Adaptor to chain together two readers.
Cursor
A Cursor wraps an in-memory buffer and provides it with a Seek implementation.
Error
The error type for I/O operations of the Read, Write, Seek, and associated traits.
LineWriter
Wraps a writer and buffers output to it, flushing whenever a newline (0x0a, '\n') is detected.
Take
Reader adaptor which limits the bytes read from an underlying reader.

Enums§

ErrorKind
A list specifying general categories of I/O error.
SeekFrom
Enumeration of possible methods to seek within an I/O object.

Traits§

BufRead
A BufRead is a type of Reader which has an internal buffer, allowing it to perform extra ways of reading.
Read
The Read trait allows for reading bytes from a source.
Seek
The Seek trait provides a cursor which can be moved within a stream of bytes.
Write
A trait for objects which are byte-oriented sinks.

Functions§

copy

Type Aliases§

Result
A specialized Result type for I/O operations.