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

pub enum UnexpectedParse {
    Eoi,
    Unexpected,
}

Variants

Trait Implementations

impl Clone for UnexpectedParse
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for UnexpectedParse
[src]

impl Debug for UnexpectedParse
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for UnexpectedParse
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Display for UnexpectedParse
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Converts self into a different StreamError type. Read more

[src]

[src]

[src]

[src]

[src]

[src]

[src]

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

[src]

Constructs an empty error. Read more

[src]

Creates a ParseError from a single Self::StreamError

[src]

Sets the position of this ParseError

[src]

Adds a StreamError to self. Read more

[src]

Sets info as the only Expected error of self

[src]

[src]

Does a best-effort conversion of self into another ParseError

[src]

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

[src]

[src]

[src]