* Remove `std::error::Error` constraint The generic `Error` type parameter doesn't have to implement the standard `Error` trait, so having that constraint only unnecessarily limits the types that can be used as an error for the service. * Implement automatic conversion into `Error` type Make the usage a little more ergonomic by not having to write manual error type conversions. * Add a documentation test for an error response Show an example that responds to a call to the service with an error. Co-authored-by: teor <teor@riseup.net> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||