Trait nom::ErrorConvert[][src]

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

equivalent From implementation to avoid orphan rules in bits parsers

Required methods

fn convert(self) -> E[src]

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

Loading content...