Enum jpar::ParserResultError[][src]

pub enum ParserResultError<Err> {
    NotFound,
    Error((Cursor, Err)),
}

The type of errors that parser method can return.

Variants

NotFound
Error((Cursor, Err))

Trait Implementations

impl<Err: Clone> Clone for ParserResultError<Err>[src]

impl<Err: Debug> Debug for ParserResultError<Err>[src]

impl<Err: Eq> Eq for ParserResultError<Err>[src]

impl<Err: PartialEq> PartialEq<ParserResultError<Err>> for ParserResultError<Err>[src]

impl<Err> StructuralEq for ParserResultError<Err>[src]

impl<Err> StructuralPartialEq for ParserResultError<Err>[src]

Auto Trait Implementations

impl<Err> RefUnwindSafe for ParserResultError<Err> where
    Err: RefUnwindSafe

impl<Err> Send for ParserResultError<Err> where
    Err: Send

impl<Err> Sync for ParserResultError<Err> where
    Err: Sync

impl<Err> Unpin for ParserResultError<Err> where
    Err: Unpin

impl<Err> UnwindSafe for ParserResultError<Err> where
    Err: 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, 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.