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

Method instance_get_memory

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

Source from the content-addressed store, hash-verified

164 }
165
166 async fn instance_get_memory(
167 &mut self,
168 instance: Instance,
169 idx: u32,
170 ) -> Result<Option<Memory>> {
171 self.with_store(move |mut store| instance.debug_memory(&mut store, idx))
172 .await
173 }
174
175 async fn instance_get_global(
176 &mut self,

Callers 1

get_memoryMethod · 0.80

Calls 2

with_storeMethod · 0.80
debug_memoryMethod · 0.80

Tested by

no test coverage detected