Function nombine::convert_from_combine[][src]

pub fn convert_from_combine<I, P, E>(
    parser: P,
    convert_error: impl FnMut(I::Error) -> E
) -> impl FnMut(I) -> Result<(I, P::Output), Err<I, E>> where
    P: Parser<Input = I>,
    I: Stream

Converts a combine parser into a nom parser

Like from_combine but accepts a function to convert the combine error to nom.