Enum pear::ParseResult[][src]

pub enum ParseResult<I: Input, R> {
    Done(R),
    Error(ParseError<I>),
}

Variants

Methods

impl<I: Input, R> ParseResult<I, R>
[src]

Trait Implementations

impl<I: Debug + Input, R: Debug> Debug for ParseResult<I, R>
[src]

Formats the value using the given formatter. Read more

impl<I: Input, T, E: Display> From<Result<T, E>> for ParseResult<I, T>
[src]

Performs the conversion.

impl<I: Input, R> Into<Result<R, ParseError<I>>> for ParseResult<I, R>
[src]

Performs the conversion.

Auto Trait Implementations

impl<I, R> Send for ParseResult<I, R> where
    R: Send,
    <I as Input>::InSlice: Send,
    <I as Input>::Slice: Send,
    <I as Input>::Token: Send

impl<I, R> Sync for ParseResult<I, R> where
    R: Sync,
    <I as Input>::InSlice: Sync,
    <I as Input>::Slice: Sync,
    <I as Input>::Token: Sync