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

Method from

crates/core/src/error/error.rs:492–494  ·  view source on GitHub ↗
(error: E)

Source from the content-addressed store, hash-verified

490 E: core::error::Error + Send + Sync + 'static,
491{
492 fn from(error: E) -> Self {
493 Self::new(error)
494 }
495}
496
497impl From<Error> for Box<dyn core::error::Error + Send + Sync + 'static> {

Callers

nothing calls this directly

Calls 5

into_boxed_dyn_errorMethod · 0.80
into_anyhowMethod · 0.80
into_non_nullMethod · 0.80
into_owned_ptrMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected