Crate core_io [] [src]

This is just a listing of the functionality available in this crate. See the std documentation for a full description of the functionality.

Modules

prelude

The I/O Prelude

Structs

Bytes

An iterator over u8 values of a reader.

Chain

Adaptor to chain together two readers.

Chars

An iterator over the chars of a reader.

Cursor

A Cursor wraps another type and provides it with a Seek implementation.

Empty

A reader which is always at EOF.

Error

The error type for I/O operations of the Read, Write, Seek, and associated traits.

Repeat

A reader which yields one byte over and over and over and over and over and...

Sink

A writer which will move data into the void.

Take

Reader adaptor which limits the bytes read from an underlying reader.

Enums

CharsError

An enumeration of possible errors that can be generated from the Chars adapter.

ErrorKind

A list specifying general categories of I/O error.

SeekFrom

Enumeration of possible methods to seek within an I/O object.

Traits

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

Copies the entire contents of a reader into a writer.

empty

Constructs a new handle to 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

ErrorString
Result

A specialized Result type for I/O operations.