pub trait ErrorConvert<E> {
    // Required method
    fn convert(self) -> E;
}
Expand description

Equivalent of From implementation to avoid orphan rules in bits parsers

Required Methods§

source

fn convert(self) -> E

Transform to another error type

Implementations on Foreign Types§

source§

impl ErrorConvert<()> for ()

Implementors§