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

Class DynError

crates/core/src/error/error.rs:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81/// `dyn_error_and_concrete_error_layouts_are_compatible` test below.
82#[repr(C)]
83pub(crate) struct DynError {
84 // Safety: this vtable must always be associated with the `E` for the
85 // `ConcreteError<E>` that this `DynError` is punning.
86 pub(crate) vtable: &'static Vtable,
87 #[cfg(feature = "backtrace")]
88 pub(crate) backtrace: Option<Backtrace>,
89 // error: <?>
90}
91
92/// A `dyn ErrorExt` trait object that we know the concrete type of.
93///

Callers 2

unpackMethod · 0.85
unpack_mutMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected