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

Method ext_into_boxed_dyn_core_error

crates/core/src/error/error.rs:1259–1264  ·  view source on GitHub ↗
(
        self,
    )

Source from the content-addressed store, hash-verified

1257 }
1258
1259 fn ext_into_boxed_dyn_core_error(
1260 self,
1261 ) -> Result<Box<dyn core::error::Error + Send + Sync + 'static>, OutOfMemory> {
1262 let boxed = try_new_uninit_box()?;
1263 Ok(Box::write(boxed, self.0) as _)
1264 }
1265
1266 fn ext_source(&self) -> Option<&Error> {
1267 None

Callers 1

Calls 4

try_new_uninit_boxFunction · 0.85
OkFunction · 0.85
into_boxed_dyn_errorMethod · 0.80
writeFunction · 0.50

Tested by

no test coverage detected