Struct wasmtime_runtime::OnDemandInstanceAllocator [−][src]
pub struct OnDemandInstanceAllocator { /* fields omitted */ }Expand description
Represents the on-demand instance allocator.
Implementations
Trait Implementations
impl Clone for OnDemandInstanceAllocator[src]
impl Clone for OnDemandInstanceAllocator[src]fn clone(&self) -> OnDemandInstanceAllocator[src]
fn clone(&self) -> OnDemandInstanceAllocator[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Default for OnDemandInstanceAllocator[src]
impl Default for OnDemandInstanceAllocator[src]impl InstanceAllocator for OnDemandInstanceAllocator[src]
impl InstanceAllocator for OnDemandInstanceAllocator[src]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: &InstanceHandle,
is_bulk_memory: bool
) -> Result<(), InstantiationError>[src]
unsafe fn initialize(
&self,
handle: &InstanceHandle,
is_bulk_memory: bool
) -> Result<(), InstantiationError>[src]Finishes the instantiation process started by an instance allocator. Read more
unsafe fn deallocate(&self, handle: &InstanceHandle)[src]
unsafe fn deallocate(&self, handle: &InstanceHandle)[src]Deallocates a previously allocated instance. Read more
fn validate(&self, module: &Module) -> Result<()>[src]
fn validate(&self, module: &Module) -> Result<()>[src]Validates that a module is supported by the allocator.
fn adjust_tunables(&self, tunables: &mut Tunables)[src]
fn adjust_tunables(&self, tunables: &mut Tunables)[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,