File tree Expand file tree Collapse file tree 7 files changed +11
-11
lines changed
Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ impl Debug for GrpcExchangeSource {
7272}
7373
7474impl ExchangeSource for GrpcExchangeSource {
75- type TakeDataFuture < ' a > = impl Future < Output = Result < Option < DataChunk > > > ;
75+ type TakeDataFuture < ' a > = impl Future < Output = Result < Option < DataChunk > > > + ' a ;
7676
7777 fn take_data ( & mut self ) -> Self :: TakeDataFuture < ' _ > {
7878 async {
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ impl Debug for LocalExchangeSource {
5252}
5353
5454impl ExchangeSource for LocalExchangeSource {
55- type TakeDataFuture < ' a > = impl Future < Output = Result < Option < DataChunk > > > ;
55+ type TakeDataFuture < ' a > = impl Future < Output = Result < Option < DataChunk > > > + ' a ;
5656
5757 fn take_data ( & mut self ) -> Self :: TakeDataFuture < ' _ > {
5858 async {
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ impl FakeExchangeSource {
251251}
252252
253253impl ExchangeSource for FakeExchangeSource {
254- type TakeDataFuture < ' a > = impl Future < Output = Result < Option < DataChunk > > > ;
254+ type TakeDataFuture < ' a > = impl Future < Output = Result < Option < DataChunk > > > + ' a ;
255255
256256 fn take_data ( & mut self ) -> Self :: TakeDataFuture < ' _ > {
257257 async {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ impl Debug for BroadcastSender {
4242}
4343
4444impl ChanSender for BroadcastSender {
45- type SendFuture < ' a > = impl Future < Output = BatchResult < ( ) > > ;
45+ type SendFuture < ' a > = impl Future < Output = BatchResult < ( ) > > + ' a ;
4646
4747 fn send ( & mut self , chunk : Option < DataChunk > ) -> Self :: SendFuture < ' _ > {
4848 async move {
@@ -65,7 +65,7 @@ pub struct BroadcastReceiver {
6565}
6666
6767impl ChanReceiver for BroadcastReceiver {
68- type RecvFuture < ' a > = impl Future < Output = Result < Option < DataChunkInChannel > > > ;
68+ type RecvFuture < ' a > = impl Future < Output = Result < Option < DataChunkInChannel > > > + ' a ;
6969
7070 fn recv ( & mut self ) -> Self :: RecvFuture < ' _ > {
7171 async move {
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub struct FifoReceiver {
3939}
4040
4141impl ChanSender for FifoSender {
42- type SendFuture < ' a > = impl Future < Output = BatchResult < ( ) > > ;
42+ type SendFuture < ' a > = impl Future < Output = BatchResult < ( ) > > + ' a ;
4343
4444 fn send ( & mut self , chunk : Option < DataChunk > ) -> Self :: SendFuture < ' _ > {
4545 async {
@@ -52,7 +52,7 @@ impl ChanSender for FifoSender {
5252}
5353
5454impl ChanReceiver for FifoReceiver {
55- type RecvFuture < ' a > = impl Future < Output = Result < Option < DataChunkInChannel > > > ;
55+ type RecvFuture < ' a > = impl Future < Output = Result < Option < DataChunkInChannel > > > + ' a ;
5656
5757 fn recv ( & mut self ) -> Self :: RecvFuture < ' _ > {
5858 async move {
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ fn generate_new_data_chunks(
105105}
106106
107107impl ChanSender for HashShuffleSender {
108- type SendFuture < ' a > = impl Future < Output = BatchResult < ( ) > > ;
108+ type SendFuture < ' a > = impl Future < Output = BatchResult < ( ) > > + ' a ;
109109
110110 fn send ( & mut self , chunk : Option < DataChunk > ) -> Self :: SendFuture < ' _ > {
111111 async move {
@@ -150,7 +150,7 @@ impl HashShuffleSender {
150150}
151151
152152impl ChanReceiver for HashShuffleReceiver {
153- type RecvFuture < ' a > = impl Future < Output = Result < Option < DataChunkInChannel > > > ;
153+ type RecvFuture < ' a > = impl Future < Output = Result < Option < DataChunkInChannel > > > + ' a ;
154154
155155 fn recv ( & mut self ) -> Self :: RecvFuture < ' _ > {
156156 async move {
You can’t perform that action at this time.
0 commit comments