[][src]Struct combine::parser::error::Expected

pub struct Expected<P, S>(_, _);

Trait Implementations

impl<P: Clone, S: Clone> Clone for Expected<P, S>[src]

impl<Input, P, S> Parser<Input> for Expected<P, S> where
    P: Parser<Input>,
    Input: Stream,
    S: for<'s> ErrorInfo<'s, Input::Token, Input::Range>, 
[src]

type Output = P::Output

The type which is returned if the parser is successful.

type PartialState = P::PartialState

Determines the state necessary to resume parsing after more input is supplied. Read more

Auto Trait Implementations

impl<P, S> RefUnwindSafe for Expected<P, S> where
    P: RefUnwindSafe,
    S: RefUnwindSafe
[src]

impl<P, S> Send for Expected<P, S> where
    P: Send,
    S: Send
[src]

impl<P, S> Sync for Expected<P, S> where
    P: Sync,
    S: Sync
[src]

impl<P, S> Unpin for Expected<P, S> where
    P: Unpin,
    S: Unpin
[src]

impl<P, S> UnwindSafe for Expected<P, S> where
    P: UnwindSafe,
    S: UnwindSafe
[src]

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.