Module sc_executor::sandbox[][src]

Expand description

This module implements sandboxing support in the runtime.

Sandboxing is backed by wasmi and wasmer, depending on the configuration.


An environment in which the guest module is instantiated.

Implementation of Externals that allows execution of guest module with externals that might refer functions defined by supervisor.

Sandboxed instance of a wasm module.

This struct keeps track of all sandboxed components.

Index of a function inside the supervisor.

An unregistered sandboxed instance.


Error occurred during instantiation of a sandboxed module.

Memory reference in terms of a selected backend

Sandbox backend to use


The sandbox context used to execute sandboxed functions.