[][src]Trait wasmtime_runtime::RuntimeMemoryCreator

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

A memory allocator

Required methods

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

Create new RuntimeLinearMemory

Loading content...

Implementors

Loading content...