Enum combine::error::StringStreamError[][src]

pub enum StringStreamError {
    UnexpectedParse,
    Eoi,
    CharacterBoundary,
}

Variants

Trait Implementations

impl Clone for StringStreamError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for StringStreamError
[src]

impl Debug for StringStreamError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for StringStreamError
[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 StringStreamError
[src]

Formats the value using the given formatter. Read more

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

Converts self into a different StreamError type. Read more

impl<Item, Range, Position> ParseError<Item, Range, Position> for StringStreamError 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