Struct nom::error::VerboseError [−][src]
pub struct VerboseError<I> {
pub errors: Vec<(I, VerboseErrorKind)>,
}
Expand description
This error type accumulates errors and their position when backtracking
through a parse tree. With some post processing (cf examples/json.rs
),
it can be used to display user friendly error messages
Fields
errors: Vec<(I, VerboseErrorKind)>
List of errors accumulated by VerboseError
, containing the affected
part of input data, and some context
Trait Implementations
Transform to another error type
Create a new error from an input position and an external error
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> RefUnwindSafe for VerboseError<I> where
I: RefUnwindSafe,
impl<I> Send for VerboseError<I> where
I: Send,
impl<I> Sync for VerboseError<I> where
I: Sync,
impl<I> Unpin for VerboseError<I> where
I: Unpin,
impl<I> UnwindSafe for VerboseError<I> where
I: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more