From 730b3bc25b8440667b8ea372282015e15339c375 Mon Sep 17 00:00:00 2001 From: tottoto Date: Mon, 28 Oct 2024 22:19:07 +0900 Subject: [PATCH] chore(server): Remove redundant bound to connectinfo --- tonic/src/transport/server/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/tonic/src/transport/server/mod.rs b/tonic/src/transport/server/mod.rs index a8b23a1ff..20394aa8c 100644 --- a/tonic/src/transport/server/mod.rs +++ b/tonic/src/transport/server/mod.rs @@ -543,7 +543,6 @@ impl Server { Into + Send + 'static, I: Stream>, IO: AsyncRead + AsyncWrite + Connected + Unpin + Send + 'static, - IO::ConnectInfo: Clone + Send + Sync + 'static, IE: Into, F: Future, ResBody: http_body::Body + Send + 'static, @@ -844,7 +843,6 @@ impl Router { where I: Stream>, IO: AsyncRead + AsyncWrite + Connected + Unpin + Send + 'static, - IO::ConnectInfo: Clone + Send + Sync + 'static, IE: Into, L: Layer, L::Service: @@ -880,7 +878,6 @@ impl Router { where I: Stream>, IO: AsyncRead + AsyncWrite + Connected + Unpin + Send + 'static, - IO::ConnectInfo: Clone + Send + Sync + 'static, IE: Into, F: Future, L: Layer,