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