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>
unsafe fn allocate(
&self,
req: InstanceAllocationRequest<'_>
) -> Result<InstanceHandle, InstantiationError>
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>
unsafe fn initialize(
&self,
handle: &mut InstanceHandle,
module: &Module,
is_bulk_memory: bool
) -> Result<(), InstantiationError>
Finishes the instantiation process started by an instance allocator. Read more
Deallocates a previously allocated instance. Read more
Allocates a fiber stack for calling async functions on.
Deallocates a fiber stack that was previously allocated with allocate_fiber_stack
. 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 OnDemandInstanceAllocator
impl Send for OnDemandInstanceAllocator
impl Sync for OnDemandInstanceAllocator
impl Unpin for OnDemandInstanceAllocator
impl !UnwindSafe for OnDemandInstanceAllocator
Blanket Implementations
Mutably borrows from an owned value. Read more