pub enum InstanceAllocationStrategy {
OnDemand,
}
Expand description
Represents the module instance allocation strategy to use.
Variants§
OnDemand
The on-demand instance allocation strategy.
Resources related to a module instance are allocated at instantiation time and
immediately deallocated when the Store
referencing the instance is dropped.
This is the default allocation strategy for Wasmtime.
Trait Implementations§
source§impl Clone for InstanceAllocationStrategy
impl Clone for InstanceAllocationStrategy
source§fn clone(&self) -> InstanceAllocationStrategy
fn clone(&self) -> InstanceAllocationStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more