Struct peg_runtime::error::ParseError [−][src]
pub struct ParseError<L> {
pub location: L,
pub expected: ExpectedSet,
}Expand description
An error from a parse failure
Fields
location: LThe furthest position the parser reached in the input
expected: ExpectedSetThe set of literals that failed to match at that position
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<L> RefUnwindSafe for ParseError<L> where
L: RefUnwindSafe,
impl<L> Send for ParseError<L> where
L: Send,
impl<L> Sync for ParseError<L> where
L: Sync,
impl<L> Unpin for ParseError<L> where
L: Unpin,
impl<L> UnwindSafe for ParseError<L> where
L: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
