[][src]Trait substrate_wasmtime_runtime::RuntimeMemoryCreator

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>

Create new RuntimeLinearMemory

Loading content...

Implementors

Loading content...