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
Cursorwraps an in-memory buffer and provides it with aSeekimplementation. - A reader which is always at EOF.
- An error returned by
BufWriter::into_innerwhich 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
BufReadsplit 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
BufReadis a type ofReader 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
Readtrait allows for reading bytes from a source. - The
Seektrait 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
Resulttype for I/O operations.