pub trait MapBackendError {
type Ok;
// Required method
fn map_backend_error(self) -> Result<Self::Ok>;
}Expand description
Map errors from external crates like tokio and hyper to Error::BackendError
This works for any error that implements ToString