Trait ErrorConvert
pub trait ErrorConvert<E> {
// Required method
fn convert(self) -> E;
}
Expand description
Equivalent From implementation to avoid orphan rules in bits parsers
Required Methods§
fn convert(self) -> E
fn convert(self) -> E
Transform to another error type