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 b129320 commit 80dd77aCopy full SHA for 80dd77a
tonic/src/transport/server/mod.rs
@@ -900,13 +900,6 @@ impl<L> Router<L> {
900
pub fn into_service<ResBody>(self) -> L::Service
901
where
902
L: Layer<Routes>,
903
- L::Service:
904
- Service<Request<BoxBody>, Response = Response<ResBody>> + Clone + Send + 'static,
905
- <<L as Layer<Routes>>::Service as Service<Request<BoxBody>>>::Future: Send + 'static,
906
- <<L as Layer<Routes>>::Service as Service<Request<BoxBody>>>::Error:
907
- Into<crate::Error> + Send,
908
- ResBody: http_body::Body<Data = Bytes> + Send + 'static,
909
- ResBody::Error: Into<crate::Error>,
910
{
911
self.server.service_builder.service(self.routes.prepare())
912
}
0 commit comments