[][src]Struct pegtastic::error::ParseError

pub struct ParseError<L> {
    pub location: L,
    pub expected: ExpectedSet,
}

An error from a parse failure

Fields

location: L

The furthest position the parser reached in the input

expected: ExpectedSet

The set of literals that failed to match at that position

Trait Implementations

impl<L> Clone for ParseError<L> where
    L: Clone
[src]

impl<L> Debug for ParseError<L> where
    L: Debug
[src]

impl<L> Display for ParseError<L> where
    L: Display
[src]

impl<L> Eq for ParseError<L> where
    L: Eq
[src]

impl<L> Error for ParseError<L> where
    L: Debug + Display
[src]

impl<L> PartialEq<ParseError<L>> for ParseError<L> where
    L: PartialEq<L>, 
[src]

impl<L> StructuralEq for ParseError<L>[src]

impl<L> StructuralPartialEq for ParseError<L>[src]

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

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.