MCPcopy Create free account
hub / github.com/hashintel/hash / try_collect_reports_bounded

Method try_collect_reports_bounded

libs/error-stack/src/ext/iter.rs:193–198  ·  view source on GitHub ↗
(self, bound: usize)

Source from the content-addressed store, hash-verified

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)]
201mod tests {

Callers 1

Calls 2

try_process_reportsFunction · 0.85
collectMethod · 0.80

Tested by 1