Trait kparse::ErrInto

source ·
pub trait ErrInto<E2> {
    type Result;

    // Required method
    fn err_into(self) -> Self::Result;
}
Expand description

Analog function for err_into() working on a parser, but working on the Result instead.

Required Associated Types§

source

type Result

Result of the conversion.

Required Methods§

source

fn err_into(self) -> Self::Result

Converts the error value of the result.

Implementations on Foreign Types§

source§

impl<I, O, E1, E2> ErrInto<E2> for Result<(I, O), Err<E1>>where E2: From<E1>,

§

type Result = Result<(I, O), Err<E2>>

source§

fn err_into(self) -> Self::Result

Implementors§