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

Method report

libs/error-stack/src/report.rs:953–962  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

951#[cfg(feature = "std")]
952impl<C> std::process::Termination for Report<C> {
953 fn report(self) -> ExitCode {
954 #[cfg(not(nightly))]
955 return ExitCode::FAILURE;
956
957 #[cfg(nightly)]
958 self.request_ref::<ExitCode>()
959 .next()
960 .copied()
961 .unwrap_or(ExitCode::FAILURE)
962 }
963}
964
965impl<C> FromIterator<Report<C>> for Option<Report<[C]>> {

Callers 1

mainFunction · 0.80

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected