Trait wasmtime_runtime::RuntimeMemoryCreator[][src]

pub trait RuntimeMemoryCreator: Send + Sync {
    fn new_memory(
        &self,
        plan: &MemoryPlan
    ) -> Result<Box<dyn RuntimeLinearMemory>, String>; }

A memory allocator

Required methods

fn new_memory(
    &self,
    plan: &MemoryPlan
) -> Result<Box<dyn RuntimeLinearMemory>, String>
[src]

Create new RuntimeLinearMemory

Loading content...

Implementors

Loading content...