Enum combine::stream::read::Error[][src]

pub enum Error {
    Unexpected,
    EndOfInput,
    Io(Error),
}

Variants

Unexpected
EndOfInput
Io(Error)

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Constructs an empty error. Read more

Creates a ParseError from a single Self::StreamError

Sets the position of this ParseError

Adds a StreamError to self. Read more

Sets info as the only Expected error of self

Does a best-effort conversion of self into another ParseError

Merges two errors. If they exist at the same position the errors of other are added to self (using the semantics of add). If they are not at the same position the error furthest ahead are returned, ignoring the other ParseError. Read more

Removes any expected errors currently in self

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Converts self into a different StreamError type. Read more

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.

Converts the given value to a String. Read more

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.