Crate core_io[][src]

This is just a listing of the functionality available in this crate. See the [std documentation](https://doc.rust-lang.org/nightly/std/io/index.html) 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.

Cursor

A Cursor wraps an in-memory buffer 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.

Initializer

A type used to conditionally initialize buffers passed to Read methods.

IoSlice

A buffer type used with Write::write_vectored.

IoSliceMut

A buffer type used with Read::read_vectored.

IoVecBuffer
IoVecMutBuffer
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

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.