[][src]Struct nom::error::VerboseError

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


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: Debug> Debug for VerboseError<I>[src]

impl<I> ParseError<I> for VerboseError<I>[src]

impl<I: PartialEq> PartialEq<VerboseError<I>> for VerboseError<I>[src]

impl<I> StructuralPartialEq for VerboseError<I>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.