Open namse opened 1 year ago
Thank you for your contribution.
But, with your change, axum or warp web frameworks can not compile with this.
Both frameworks assume Service with Error=Infallible
e.g., [axum::Router](https://docs.rs/axum/0.6.1/axum/struct.Router.html#impl-Service%3CRequest%3CB%3E%3E-for-Router%3C()%2C%20B%3E),
Related issue: #12
I replaced Infallible to LambdaError for supporting error handling on hyper.