Module std::io
[−]
[src]
Traits, helpers, and type definitions for core I/O functionality.
Modules
| prelude |
The I/O Prelude |
Structs
| BufReader |
Wraps a |
| BufWriter |
Wraps a Writer and buffers output to it |
| Bytes |
A bridge from implementations of |
| Chain |
Adaptor to chain together two instances of |
| Cursor |
A |
| Empty |
A reader which is always at EOF. |
| Error |
The error type for I/O operations of the |
| IntoInnerError |
An error returned by |
| LineWriter |
Wraps a Writer and buffers output to it, flushing whenever a newline
( |
| Lines |
An iterator over the lines of an instance of |
| Repeat |
A reader which infinitely yields one byte. |
| Sink |
A writer which will move data into the void. |
| Split |
An iterator over the contents of an instance of |
| Stderr |
A handle to the standard error stream of a process. |
| StderrLock |
A locked reference to the a |
| Stdin |
A handle to the standard input stream of a process. |
| StdinLock |
A locked reference to the a |
| Stdout |
A handle to the global standard output stream of the current process. |
| StdoutLock |
A locked reference to the a |
| Take |
Reader adaptor which limits the bytes read from an underlying reader. |
| Broadcast |
[Unstable] A |
| BufStream |
[Unstable] Wraps a Stream and buffers input and output to and from it. |
| Chars |
[Unstable] A bridge from implementations of |
| Tee |
[Unstable] An adaptor which will emit all read data to a specified writer as well. |
Enums
| ErrorKind |
A list specifying general categories of I/O error. |
| SeekFrom |
Enumeration of possible methods to seek within an I/O object. |
| CharsError |
[Unstable] An enumeration of possible errors that can be generated from the |
Traits
| BufRead |
A Buffer is a type of reader which has some form of internal buffering to allow certain kinds of reading operations to be more optimized than others. |
| Read |
A trait for objects which are byte-oriented sources. |
| Seek |
An object implementing |
| Write |
A trait for objects which are byte-oriented sinks. |
Functions
| copy |
Copies the entire contents of a reader into a writer. |
| empty |
Creates an instance of an empty reader. |
| repeat |
Creates an instance of a reader that infinitely repeats one byte. |
| sink |
Creates an instance of a writer which will successfully consume all data. |
| stderr |
Constructs a new reference to the standard error stream of a process. |
| stdin |
Creates a new handle to the global standard input stream of this process. |
| stdout |
Constructs a new reference to the standard output of the current process. |
Type Definitions
| Result |
A type for results generated by I/O related functions where the |