diff --git a/src/session/mod.rs b/src/session/mod.rs index 96f75ae..ec92b52 100644 --- a/src/session/mod.rs +++ b/src/session/mod.rs @@ -288,17 +288,16 @@ impl s } impl< - Inner, + Inner: 'static, RequestBody: Send + 'static, - ResponseBody: Send + 'static, + ResponseBody: Send, SessionData: Default + Debug + Send + Sync + 'static, SessionStoreConnection: SessionStoreConnector + Clone + Send + Sync + 'static, > Service> for Session where - Inner: - Service, Response = Response> + Clone + Send + 'static, - Inner::Future: Send + 'static, - >::Error: Send + 'static, + Inner: Service, Response = Response> + Clone + Send, + Inner::Future: Send, + >::Error: Send, { type Response = Inner::Response; type Error = SessionLayerError<