[][src]Trait combine::error::ParseErrorInto

pub trait ParseErrorInto<Item, Range, Position>: Sized {
    pub fn into_other_error<T, Item2, Range2, Position2>(self) -> T
    where
        T: ParseError<Item2, Range2, Position2>,
        Item2: From<Item>,
        Range2: From<Range>,
        Position2: From<Position>
; }

Defines a conversion between two parse error types.

Like ParseError::into_other but with a more general signature (This will take the place of into_other on breaking release of combine)

Required methods

pub fn into_other_error<T, Item2, Range2, Position2>(self) -> T where
    T: ParseError<Item2, Range2, Position2>,
    Item2: From<Item>,
    Range2: From<Range>,
    Position2: From<Position>, 
[src]

Loading content...

Implementors

impl<Item, Range, Position> ParseErrorInto<Item, Range, Position> for StringStreamError where
    Position: Default
[src]

impl<Item, Range, Position> ParseErrorInto<Item, Range, Position> for UnexpectedParse where
    Position: Default
[src]

impl<Item, Range, Position> ParseErrorInto<Item, Range, Position> for Errors<Item, Range, Position>[src]

This is supported on crate feature std only.
Loading content...