[][src]Trait combine::parser::combinator::Converter

pub trait Converter<'a, Input> where
    Input: Stream
{ type InputInner: Stream + 'a; fn convert(
        &mut self,
        input: &'a mut Input
    ) -> Result<Self::InputInner, Input::Error>;
fn convert_error(
        &mut self,
        input: &'a mut Input,
        error: <Self::InputInner as StreamOnce>::Error
    ) -> Input::Error; }

Associated Types

type InputInner: Stream + 'a

Loading content...

Required methods

fn convert(
    &mut self,
    input: &'a mut Input
) -> Result<Self::InputInner, Input::Error>

fn convert_error(
    &mut self,
    input: &'a mut Input,
    error: <Self::InputInner as StreamOnce>::Error
) -> Input::Error

Loading content...

Implementations on Foreign Types

impl<'a, Input, InputInner> Converter<'a, Input> for (fn(_: &'a mut Input) -> Result<InputInner, Input::Error>, fn(_: &'a mut Input, _: InputInner::Error) -> Input::Error) where
    Input: Stream,
    InputInner: Stream + 'a, 
[src]

type InputInner = InputInner

Loading content...

Implementors

Loading content...