Enum combine::error::UnexpectedParse[][src]

pub enum UnexpectedParse {
    Eoi,
    Unexpected,
}

Variants

Trait Implementations

impl Clone for UnexpectedParse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for UnexpectedParse
[src]

impl Debug for UnexpectedParse
[src]

Formats the value using the given formatter. Read more

impl PartialEq for UnexpectedParse
[src]

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

This method tests for !=.

impl Display for UnexpectedParse
[src]

Formats the value using the given formatter. Read more

impl<Item, Range> StreamError<Item, Range> for UnexpectedParse
[src]

Converts self into a different StreamError type. Read more

impl<Item, Range, Position> ParseError<Item, Range, Position> for UnexpectedParse where
    Position: Default
[src]

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

Auto Trait Implementations