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

Method unchecked_dyn_error_ref

crates/core/src/error/error.rs:1635–1638  ·  view source on GitHub ↗

# Safety `self.is_boxed_dyn_error()` must be true.

(&self)

Source from the content-addressed store, hash-verified

1633 ///
1634 /// `self.is_boxed_dyn_error()` must be true.
1635 unsafe fn unchecked_dyn_error_ref(&self) -> SharedPtr<'_, DynError> {
1636 debug_assert!(self.is_boxed_dyn_error());
1637 SharedPtr::new(self.inner.cast::<DynError>())
1638 }
1639
1640 /// # Safety
1641 ///

Callers 1

unpackMethod · 0.80

Calls 1

newFunction · 0.50

Tested by

no test coverage detected