vmm: drop Sync+Send bounds for EndpointHandler

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2022-06-20 14:46:20 +00:00 committed by Rob Bradford
parent f1dc7f442a
commit bccd7c7e48

View File

@ -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