Struct combine::primitives::ParseError [] [src]

pub struct ParseError<S: StreamOnce> {
    pub position: S::Position,
    pub errors: Vec<Error<S::Item, S::Range>>,
}

Struct which hold information about an error that occured at a specific position. Can hold multiple instances of Error if more that one error occured in the same position.

Fields

The position where the error occured

A vector containing specific information on what errors occured at position

Methods

impl<S: StreamOnce> ParseError<S>
[src]

Trait Implementations

impl<S> StdError for ParseError<S> where S: Stream, S::Range: Display + Debug + Any, S::Item: Display + Debug + Any, S::Position: Display + Debug + Any
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl<S> PartialEq for ParseError<S> where S: Stream, S::Position: PartialEq
[src]

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

This method tests for !=.

impl<S> Debug for ParseError<S> where S: Stream, S::Range: Debug, S::Item: Debug, S::Position: Debug
[src]

Formats the value using the given formatter.

impl<S> Display for ParseError<S> where S: Stream, S::Item: Display, S::Range: Display, S::Position: Display
[src]

Formats the value using the given formatter.