[][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

Loading content...