logo
pub struct Executor { /* private fields */ }
Expand description

Defines an execution environment for both pure WASM and compiled WASM.

Implementations

Creates a new executor to be associated with the given config and statistics.

Arguments
Error

If fail to create a executor, then an error is returned.

Trait Implementations

Formats the value using the given formatter. Read more

Runs a host function instance and returns the results. Read more

Runs a host function instance by calling its reference and returns the results. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.