Trait wasmtime_runtime::RuntimeMemoryCreator[][src]

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

A memory allocator

Required methods

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

Create new RuntimeLinearMemory

Implementors