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; } ```