pub trait EncodeErrorHandler: Copy {
type HandledErr: 'static;
// Required method
fn handle_error(&self, err: EncodeError) -> Self::HandledErr;
}
pub trait EncodeErrorHandler: Copy {
type HandledErr: 'static;
// Required method
fn handle_error(&self, err: EncodeError) -> Self::HandledErr;
}