@@ -537,7 +537,7 @@ impl<L> Server<L> {
537
537
where
538
538
L : Layer < S > ,
539
539
L :: Service : Service < Request < Body > , Response = Response < ResBody > > + Clone + Send + ' static ,
540
- <<L as Layer < S > >:: Service as Service < Request < Body > > >:: Future : Send + ' static ,
540
+ <<L as Layer < S > >:: Service as Service < Request < Body > > >:: Future : Send ,
541
541
<<L as Layer < S > >:: Service as Service < Request < Body > > >:: Error :
542
542
Into < crate :: BoxError > + Send + ' static ,
543
543
I : Stream < Item = Result < IO , IE > > ,
@@ -780,7 +780,7 @@ impl<L> Router<L> {
780
780
where
781
781
L : Layer < Routes > + Clone ,
782
782
L :: Service : Service < Request < Body > , Response = Response < ResBody > > + Clone + Send + ' static ,
783
- <<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Future : Send + ' static ,
783
+ <<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Future : Send ,
784
784
<<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Error :
785
785
Into < crate :: BoxError > + Send ,
786
786
ResBody : http_body:: Body < Data = Bytes > + Send + ' static ,
@@ -813,7 +813,7 @@ impl<L> Router<L> {
813
813
where
814
814
L : Layer < Routes > ,
815
815
L :: Service : Service < Request < Body > , Response = Response < ResBody > > + Clone + Send + ' static ,
816
- <<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Future : Send + ' static ,
816
+ <<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Future : Send ,
817
817
<<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Error :
818
818
Into < crate :: BoxError > + Send ,
819
819
ResBody : http_body:: Body < Data = Bytes > + Send + ' static ,
@@ -845,7 +845,7 @@ impl<L> Router<L> {
845
845
L : Layer < Routes > ,
846
846
847
847
L :: Service : Service < Request < Body > , Response = Response < ResBody > > + Clone + Send + ' static ,
848
- <<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Future : Send + ' static ,
848
+ <<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Future : Send ,
849
849
<<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Error :
850
850
Into < crate :: BoxError > + Send ,
851
851
ResBody : http_body:: Body < Data = Bytes > + Send + ' static ,
@@ -880,7 +880,7 @@ impl<L> Router<L> {
880
880
F : Future < Output = ( ) > ,
881
881
L : Layer < Routes > ,
882
882
L :: Service : Service < Request < Body > , Response = Response < ResBody > > + Clone + Send + ' static ,
883
- <<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Future : Send + ' static ,
883
+ <<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Future : Send ,
884
884
<<L as Layer < Routes > >:: Service as Service < Request < Body > > >:: Error :
885
885
Into < crate :: BoxError > + Send ,
886
886
ResBody : http_body:: Body < Data = Bytes > + Send + ' static ,
@@ -986,7 +986,7 @@ impl<S, ResBody, IO> Service<&ServerIo<IO>> for MakeSvc<S, IO>
986
986
where
987
987
IO : Connected + ' static ,
988
988
S : Service < Request < Body > , Response = Response < ResBody > > + Clone + Send + ' static ,
989
- S :: Future : Send + ' static ,
989
+ S :: Future : Send ,
990
990
S :: Error : Into < crate :: BoxError > + Send ,
991
991
ResBody : http_body:: Body < Data = Bytes > + Send + ' static ,
992
992
ResBody :: Error : Into < crate :: BoxError > ,
0 commit comments