Enum data_stream::Error[][src]

pub enum Error {
    Write(WriteError),
    Read(ReadError),
}
Expand description

The error type when reading and writing data to and from stream.

Variants

Write(WriteError)

The error occured during writing.

Tuple Fields of Write

0: WriteError
Read(ReadError)

The error occured during reading.

Tuple Fields of Read

0: ReadError

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.