(
self: Pin<&mut Self>,
_cx: &mut Context<'_>,
)
| 119 | type Item = Result<RecordBatch>; |
| 120 | |
| 121 | fn poll_next( |
| 122 | self: Pin<&mut Self>, |
| 123 | _cx: &mut Context<'_>, |
| 124 | ) -> Poll<Option<Self::Item>> { |
| 125 | if self.nb_batch > 0 { |
| 126 | self.get_mut().nb_batch -= 1; |
| 127 | Poll::Ready(Some(TEST_CUSTOM_RECORD_BATCH!().map_err(Into::into))) |
| 128 | } else { |
| 129 | Poll::Ready(None) |
| 130 | } |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | impl DisplayAs for CustomExecutionPlan { |
no test coverage detected