Expand description
Modules
- File related operations.
- The I/O Prelude.
Structs
- The
BufReader<R>
struct adds buffering to any reader. - Wraps a writer and buffers its output.
- A
Cursor
wraps an in-memory buffer and provides it with aSeek
implementation. - A reader which is always at EOF.
- An error returned by
BufWriter::into_inner
which combines an error that happened while writing out the buffer, and the buffered writer object which may be used to recover from the condition. - A buffer type used with
Write::write_vectored
. - A buffer type used with
Read::read_vectored
. - Wraps a writer and buffers output to it, flushing whenever a newline (
0x0a
,'\n'
) is detected. - An iterator over the lines of an instance of
BufRead
. - A reader which yields one byte over and over and over and over and over and…
- A writer which will move data into the void.
- An iterator over the contents of an instance of
BufRead
split on a particular byte.
Enums
- A list specifying general categories of I/O error.
- Enumeration of possible methods to seek within an I/O object.
Traits
- A
BufRead
is a type ofRead
er which has an internal buffer, allowing it to perform extra ways of reading. - A trait providing a subset of
std::error::Error
’s functionality. - The
Read
trait allows for reading bytes from a source. - The
Seek
trait provides a cursor which can be moved within a stream of bytes. - A trait for objects which are byte-oriented sinks.
Functions
- Copies the entire contents of a reader into a writer.
- Constructs a new handle to an empty reader.
- Creates an instance of a reader that infinitely repeats one byte.
- Creates an instance of a writer which will successfully consume all data.
Type Definitions
- A specialized
Result
type for I/O operations.