From bccd7c7e48bb16a88280944a23544ef08a9ee5ea Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 20 Jun 2022 14:46:20 +0000 Subject: [PATCH] vmm: drop Sync+Send bounds for EndpointHandler Signed-off-by: Wei Liu --- vmm/src/api/http.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmm/src/api/http.rs b/vmm/src/api/http.rs index 70749dc36..b49bb1398 100644 --- a/vmm/src/api/http.rs +++ b/vmm/src/api/http.rs @@ -57,7 +57,7 @@ pub fn error_response(error: HttpError, status: StatusCode) -> Response { } /// An HTTP endpoint handler interface -pub trait EndpointHandler: Sync + Send { +pub trait EndpointHandler { /// Handles an HTTP request. /// After parsing the request, the handler could decide to send an /// associated API request down to the VMM API server to e.g. create