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

Method as_ref

crates/core/src/error/error.rs:557–559  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

555impl AsRef<dyn core::error::Error> for Error {
556 #[inline]
557 fn as_ref(&self) -> &(dyn core::error::Error + 'static) {
558 self.inner.as_dyn_core_error()
559 }
560}
561
562impl AsRef<dyn core::error::Error + Send + Sync> for Error {

Callers 14

dropMethod · 0.45
derefMethod · 0.45
ext_as_dyn_core_errorMethod · 0.45
into_anyhowMethod · 0.45
sourceMethod · 0.45
source_mutMethod · 0.45
isMethod · 0.45
downcastMethod · 0.45
displayMethod · 0.45
fmtMethod · 0.45
downcast_refMethod · 0.45

Calls 1

as_dyn_core_errorMethod · 0.80

Tested by

no test coverage detected