@@ -530,10 +530,10 @@ impl ContextInternal {
530
530
pub fn run < ' a , Run , Fut , Out > (
531
531
& ' a self ,
532
532
run_closure : Run ,
533
- ) -> impl crate :: context:: RunFuture < Result < Out , TerminalError > > + Send + Sync + ' a
533
+ ) -> impl crate :: context:: RunFuture < Result < Out , TerminalError > > + Send + ' a
534
534
where
535
- Run : RunClosure < Fut = Fut , Output = Out > + Send + Sync + ' a ,
536
- Fut : Future < Output = HandlerResult < Out > > + Send + Sync + ' a ,
535
+ Run : RunClosure < Fut = Fut , Output = Out > + Send + ' a ,
536
+ Fut : Future < Output = HandlerResult < Out > > + Send + ' a ,
537
537
Out : Serialize + Deserialize + ' static ,
538
538
{
539
539
let this = Arc :: clone ( & self . inner ) ;
@@ -634,8 +634,8 @@ impl<Run, Fut, Ret> RunFuture<Run, Fut, Ret> {
634
634
impl < Run , Fut , Out > crate :: context:: RunFuture < Result < Result < Out , TerminalError > , Error > >
635
635
for RunFuture < Run , Fut , Out >
636
636
where
637
- Run : RunClosure < Fut = Fut , Output = Out > + Send + Sync ,
638
- Fut : Future < Output = HandlerResult < Out > > + Send + Sync ,
637
+ Run : RunClosure < Fut = Fut , Output = Out > + Send ,
638
+ Fut : Future < Output = HandlerResult < Out > > + Send ,
639
639
Out : Serialize + Deserialize ,
640
640
{
641
641
fn retry_policy ( mut self , retry_policy : RunRetryPolicy ) -> Self {
@@ -657,9 +657,9 @@ where
657
657
658
658
impl < Run , Fut , Out > Future for RunFuture < Run , Fut , Out >
659
659
where
660
- Run : RunClosure < Fut = Fut , Output = Out > + Send + Sync ,
660
+ Run : RunClosure < Fut = Fut , Output = Out > + Send ,
661
661
Out : Serialize + Deserialize ,
662
- Fut : Future < Output = HandlerResult < Out > > + Send + Sync ,
662
+ Fut : Future < Output = HandlerResult < Out > > + Send ,
663
663
{
664
664
type Output = Result < Result < Out , TerminalError > , Error > ;
665
665
0 commit comments