Trait FromExternalError

trait FromExternalError<I, E>

Create a new error with an external error, from std::str::FromStr

This trait is required by the Parser::try_map combinator.

Required Methods

fn from_external_error(input: &I, e: E) -> Self

Like ParserError::from_input but also include an external error.

Implementors