MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / source

Method source

crates/core/src/error/context.rs:242–245  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

240 C: fmt::Display + Send + Sync + 'static,
241{
242 fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
243 let source = self.ext_source()?;
244 Some(source.inner.as_dyn_core_error())
245 }
246}
247
248unsafe impl<C> ErrorExt for ContextError<C>

Callers

nothing calls this directly

Calls 2

as_dyn_core_errorMethod · 0.80
ext_sourceMethod · 0.45

Tested by

no test coverage detected