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) -> SelfLike
ParserError::from_inputbut also include an external error.
Implementors
impl<I, E> FromExternalError for ()impl<I, E> FromExternalError for EmptyErrorimpl<I: Clone, E> FromExternalError for InputError<I>impl<C, I, E: Send + Sync + 'static> FromExternalError for ContextError<C>impl<I, EXT, E> FromExternalError for ErrMode<E>