[][src]Trait nom::ErrorConvert

pub trait ErrorConvert<E> {
    fn convert(self) -> E;
}

Equivalent From implementation to avoid orphan rules in bits parsers

Required methods

fn convert(self) -> E

Transform to another error type

Loading content...

Implementations on Foreign Types

impl<I> ErrorConvert<(I, ErrorKind)> for ((I, usize), ErrorKind)[src]

impl<I> ErrorConvert<((I, usize), ErrorKind)> for (I, ErrorKind)[src]

Loading content...

Implementors

impl<I> ErrorConvert<Error<(I, usize)>> for Error<I>[src]

impl<I> ErrorConvert<Error<I>> for Error<(I, usize)>[src]

Loading content...