We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f02e7d commit 33e7732Copy full SHA for 33e7732
src/route.rs
@@ -97,7 +97,7 @@ impl Router {
97
http::Request<Body>,
98
Response = http::Response<Body>,
99
Error = Infallible,
100
- Future = impl Send,
+ Future = impl Future<Output = Result<http::Response<Body>, Infallible>> + Send + 'static,
101
> + Clone {
102
let this = Arc::new(self);
103
service_fn(move |request: http::Request<Body>| this.clone().handle(request).never_error())
0 commit comments