From e05de8688262fb6048d29dfcc2e4bc1bbbd0146e Mon Sep 17 00:00:00 2001 From: mxsm Date: Mon, 23 Oct 2023 23:18:07 +0800 Subject: [PATCH] [ISSUE #41]doc: update README.md doc --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 679144d..db6a12f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,11 @@ pub trait Service { type Error; /// Process the request and return the response asynchronously. - async fn call<'s, 'cx>(&'s self, cx: &'cx mut Cx, req: Request) -> Result; + fn call<'s, 'cx>( + &'s self, + cx: &'cx mut Cx, + req: Request, + ) -> impl Future> + Send; } ```