Module std::ioUnstable
[-] [+]
[src]
Traits, helpers, and type definitions for core I/O functionality.
NOTE: This module is very much a work in progress and is under active development. At this time it is still recommended to use the
old_io
module while the details of this module shake out.
Modules
prelude | The I/O Prelude |
Structs
Broadcast | A |
BufReader | Wraps a |
BufStream | Wraps a Stream and buffers input and output to and from it. |
BufWriter | Wraps a Writer and buffers output to it |
Bytes | A bridge from implementations of |
Chain | Adaptor to chain together two instances of |
Chars | A bridge from implementations 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 |
Take | Reader adaptor which limits the bytes read from an underlying reader. |
Tee | An adaptor which will emit all read data to a specified writer as well. |
Enums
CharsError | An enumeration of possible errors that can be generated from the |
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 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. |
BufReadExt | Extension methods for all instances of |
Read | A trait for objects which are byte-oriented sources. |
ReadExt | Extension methods for all instances of |
Seek | An object implementing |
Write | A trait for objects which are byte-oriented sinks. |
WriteExt | Extension methods for all instances of |
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. |
Type Definitions
Result | A type for results generated by I/O related functions where the |