(self, bound: usize)
| 191 | } |
| 192 | |
| 193 | fn try_collect_reports_bounded<A>(self, bound: usize) -> Result<A, Report<[C]>> |
| 194 | where |
| 195 | A: FromIterator<Self::Ok>, |
| 196 | { |
| 197 | try_process_reports(self, Some(bound), |shunt| shunt.collect()) |
| 198 | } |
| 199 | } |
| 200 | #[cfg(test)] |
| 201 | mod tests { |