Struct nom::error::VerboseError [−][src]
pub struct VerboseError<I> { pub errors: Vec<(I, VerboseErrorKind)>, }
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
impl<I: Clone> Clone for VerboseError<I>
[src]
impl<I: Clone> Clone for VerboseError<I>
[src]fn clone(&self) -> VerboseError<I>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<I> ParseError<I> for VerboseError<I>
[src]
impl<I> ParseError<I> for VerboseError<I>
[src]impl<I: PartialEq> PartialEq<VerboseError<I>> for VerboseError<I>
[src]
impl<I: PartialEq> PartialEq<VerboseError<I>> for VerboseError<I>
[src]fn eq(&self, other: &VerboseError<I>) -> bool
[src]
fn ne(&self, other: &VerboseError<I>) -> bool
[src]
impl<I> StructuralPartialEq for VerboseError<I>
[src]
Auto Trait Implementations
impl<I> RefUnwindSafe for VerboseError<I> where
I: RefUnwindSafe,
I: RefUnwindSafe,
impl<I> Send for VerboseError<I> where
I: Send,
I: Send,
impl<I> Sync for VerboseError<I> where
I: Sync,
I: Sync,
impl<I> Unpin for VerboseError<I> where
I: Unpin,
I: Unpin,
impl<I> UnwindSafe for VerboseError<I> where
I: UnwindSafe,
I: UnwindSafe,