Struct nom_greedyerror::GreedyError [−][src]
pub struct GreedyError<I, E> {
pub errors: Vec<(I, GreedyErrorKind<E>)>,
}
Expand description
This error type accumulates errors and their position when backtracking
through a parse tree. This take a deepest error at alt
combinator.
Fields
errors: Vec<(I, GreedyErrorKind<E>)>
list of errors accumulated by GreedyError
, containing the affected
part of input data, and some context
Trait Implementations
Creates an error from the input position and an ErrorKind
Creates an error from an input position and an expected character
creates an error from the input position and an ErrorKind
creates an error from an input position and an expected character
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<I, E> RefUnwindSafe for GreedyError<I, E> where
E: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, E> Send for GreedyError<I, E> where
E: Send,
I: Send,
impl<I, E> Sync for GreedyError<I, E> where
E: Sync,
I: Sync,
impl<I, E> Unpin for GreedyError<I, E> where
E: Unpin,
I: Unpin,
impl<I, E> UnwindSafe for GreedyError<I, E> where
E: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more