Module instance

Source
Expand description

Abstractions for running/managing a wasm/wasi instance.

Structs§

InstanceConfig
Generic options builder for creating a wasm instance. This is passed to the Instance::new method.

Traits§

Instance
Represents a WASI module(s). Instance is a trait that gets implemented by consumers of this library. This trait requires that any type implementing it is 'static, similar to std::any::Any. This means that the type cannot contain a non-'static reference.