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

Method instance_get_func

crates/debugger/src/host/opaque.rs:189–192  ·  view source on GitHub ↗
(&mut self, instance: Instance, idx: u32)

Source from the content-addressed store, hash-verified

187 }
188
189 async fn instance_get_func(&mut self, instance: Instance, idx: u32) -> Result<Option<Func>> {
190 self.with_store(move |mut store| instance.debug_function(&mut store, idx))
191 .await
192 }
193
194 async fn instance_get_tag(&mut self, instance: Instance, idx: u32) -> Result<Option<Tag>> {
195 self.with_store(move |mut store| instance.debug_tag(&mut store, idx))

Callers 1

get_funcMethod · 0.80

Calls 2

with_storeMethod · 0.80
debug_functionMethod · 0.80

Tested by

no test coverage detected