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

Method is_valid

crates/wasmtime/src/runtime/debug.rs:446–449  ·  view source on GitHub ↗

Determine whether this handle can still be used to refer to a frame.

(&self, mut store: impl AsContextMut)

Source from the content-addressed store, hash-verified

444 /// Determine whether this handle can still be used to refer to a
445 /// frame.
446 pub fn is_valid(&self, mut store: impl AsContextMut) -> bool {
447 let store = store.as_context_mut();
448 self.is_valid_impl(store.0.as_store_opaque())
449 }
450
451 fn is_valid_impl(&self, store: &StoreOpaque) -> bool {
452 let id = store.id();

Callers 2

debug_exportMethod · 0.45
parentMethod · 0.45

Calls 3

is_valid_implMethod · 0.80
as_store_opaqueMethod · 0.80
as_context_mutMethod · 0.45

Tested by

no test coverage detected