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 0f31e2e commit 970635aCopy full SHA for 970635a
examples/src/h2c/server.rs
@@ -82,9 +82,8 @@ mod h2c {
82
impl<S> Service<Request<Incoming>> for H2c<S>
83
where
84
S: Service<Request<Body>, Response = Response<Body>> + Clone + Send + 'static,
85
- S::Future: Send + 'static,
86
- S::Error: Into<BoxError> + Sync + Send + 'static,
87
- S::Response: Send + 'static,
+ S::Future: Send,
+ S::Error: Into<BoxError> + 'static,
88
{
89
type Response = hyper::Response<Body>;
90
type Error = hyper::Error;
0 commit comments