Trait nom::ErrorConvert
source · [−]pub trait ErrorConvert<E> {
fn convert(self) -> E;
}
Expand description
Equivalent From implementation to avoid orphan rules in bits parsers
Required methods
Implementations on Foreign Types
Implementors
impl<I> ErrorConvert<Error<(I, usize)>> for Error<I>
impl<I> ErrorConvert<Error<I>> for Error<(I, usize)>
impl<I> ErrorConvert<VerboseError<(I, usize)>> for VerboseError<I>
This is supported on crate feature
alloc
only.impl<I> ErrorConvert<VerboseError<I>> for VerboseError<(I, usize)>
This is supported on crate feature
alloc
only.