MCPcopy Create free account
hub / github.com/drogus/crows / get_memory

Function get_memory

wasm/src/lib.rs:480–482  ·  view source on GitHub ↗
(caller: &mut Caller<'_, T>)

Source from the content-addressed store, hash-verified

478}
479
480pub fn get_memory<T>(caller: &mut Caller<'_, T>) -> anyhow::Result<Memory> {
481 Ok(caller.get_export("memory").unwrap().into_memory().unwrap())
482}
483
484impl Instance {
485 pub fn new_store(

Callers 4

wrap_asyncMethod · 0.85
httpMethod · 0.85
set_configMethod · 0.85
consume_bufferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected