From f2d9b73c91324be9cc02c278ddbe07382c95ce8a Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 26 Aug 2019 13:44:54 +0200 Subject: [PATCH] src/api_schema/router.rs: switch to async Signed-off-by: Wolfgang Bumiller --- src/api_schema/router.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_schema/router.rs b/src/api_schema/router.rs index 4e3df200..bb44a2a3 100644 --- a/src/api_schema/router.rs +++ b/src/api_schema/router.rs @@ -12,7 +12,7 @@ use hyper::http::request::Parts; use super::api_handler::*; -pub type BoxFut = Box, Error = failure::Error> + Send>; +pub type BoxFut = Box, failure::Error>> + Send>; /// Abstract Interface for API methods to interact with the environment pub trait RpcEnvironment: std::any::Any + crate::tools::AsAny + Send {