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

Method try_collect_reports

libs/error-stack/src/ext/iter.rs:186–191  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

184 type Ok = T;
185
186 fn try_collect_reports<A>(self) -> Result<A, Report<[C]>>
187 where
188 A: FromIterator<Self::Ok>,
189 {
190 try_process_reports(self, None, |shunt| shunt.collect())
191 }
192
193 fn try_collect_reports_bounded<A>(self, bound: usize) -> Result<A, Report<[C]>>
194 where

Callers 15

load_json_configsFunction · 0.45
newMethod · 0.45
sampleMethod · 0.45
create_distributionMethod · 0.45
bindMethod · 0.45
try_collect_no_errorsFunction · 0.45
validate_policy_setMethod · 0.45
try_from_cedarMethod · 0.45

Calls 2

try_process_reportsFunction · 0.85
collectMethod · 0.80

Tested by 3

try_collect_no_errorsFunction · 0.36