[][src]Enum parze::error::DefaultParseError

pub enum DefaultParseError<T> {
    Unexpected(T),
    UnexpectedEnd,
}

The default implementation of ParseError. Unless specified, parsers will use this type as their error type.

Variants

Unexpected(T)

A symbol was unexpected.

UnexpectedEnd

The symbol input unexpectedly ended.

Trait Implementations

impl<'a, T: Clone + 'a> ParseError<'a, T> for DefaultParseError<T>[src]

impl<T: Clone> Clone for DefaultParseError<T>[src]

impl<T: PartialEq> PartialEq<DefaultParseError<T>> for DefaultParseError<T>[src]

impl<T: Debug> Debug for DefaultParseError<T>[src]

impl<T> StructuralPartialEq for DefaultParseError<T>[src]

Auto Trait Implementations

impl<T> Send for DefaultParseError<T> where
    T: Send

impl<T> Sync for DefaultParseError<T> where
    T: Sync

impl<T> Unpin for DefaultParseError<T> where
    T: Unpin

impl<T> UnwindSafe for DefaultParseError<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for DefaultParseError<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Chain<Vec<T>> for T[src]

type Chained = Vec<T>

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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