Struct wasmtime_runtime::OnDemandInstanceAllocator [−][src]
pub struct OnDemandInstanceAllocator { /* fields omitted */ }Expand description
Represents the on-demand instance allocator.
Implementations
Trait Implementations
unsafe fn allocate(
&self,
req: InstanceAllocationRequest<'_>
) -> Result<InstanceHandle, InstantiationError>[src]
unsafe fn allocate(
&self,
req: InstanceAllocationRequest<'_>
) -> Result<InstanceHandle, InstantiationError>[src]Allocates an instance for the given allocation request. Read more
unsafe fn initialize(
&self,
handle: &mut InstanceHandle,
module: &Module,
is_bulk_memory: bool
) -> Result<(), InstantiationError>[src]
unsafe fn initialize(
&self,
handle: &mut InstanceHandle,
module: &Module,
is_bulk_memory: bool
) -> Result<(), InstantiationError>[src]Finishes the instantiation process started by an instance allocator. Read more
Deallocates a previously allocated instance. Read more
Validates that a module is supported by the allocator.
Adjusts the tunables prior to creation of any JIT compiler. Read more
Auto Trait Implementations
impl !RefUnwindSafe for OnDemandInstanceAllocatorimpl Send for OnDemandInstanceAllocatorimpl Sync for OnDemandInstanceAllocatorimpl Unpin for OnDemandInstanceAllocatorimpl !UnwindSafe for OnDemandInstanceAllocatorBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V