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

Method get_instance_module

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

Source from the content-addressed store, hash-verified

159 }
160
161 async fn get_instance_module(&mut self, instance: Instance) -> Result<Module> {
162 self.with_store(move |store| instance.module(&store).clone())
163 .await
164 }
165
166 async fn instance_get_memory(
167 &mut self,

Callers 1

get_moduleMethod · 0.80

Calls 3

with_storeMethod · 0.80
cloneMethod · 0.45
moduleMethod · 0.45

Tested by

no test coverage detected