This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch poc-idl
in repository https://gitbox.apache.org/repos/asf/dubbo-rust.git

commit d4d667ed129405d2b1ef60ae7d0d161bda21888f
Author: Johankoi <[email protected]>
AuthorDate: Thu Jul 21 17:17:09 2022 +0800

    Update server.rs
    
    fix RpcServer start function
---
 xds/src/server/server.rs | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/xds/src/server/server.rs b/xds/src/server/server.rs
index f27bc0a..f45a37f 100644
--- a/xds/src/server/server.rs
+++ b/xds/src/server/server.rs
@@ -35,14 +35,7 @@ impl RpcServer {
         }
     }
 
-    pub async fn start<S>(&self, service: S)
-        where
-            S: Service<Request<Body>, Response = Response<Body>, Error = 
Infallible>
-            + Clone
-            + Send
-            + 'static,
-            S::Future: Send + 'static,
-    {
+    pub async fn start(&self) {
         env_logger::init();
 
         let make_service = make_service_fn(|_conn| async {

Reply via email to