pub trait CanConvert<From, To>: HasErrorType {
// Required method
fn convert(&self, from: &From) -> Result<To, Self::Error>;
}pub trait CanConvert<From, To>: HasErrorType {
// Required method
fn convert(&self, from: &From) -> Result<To, Self::Error>;
}