Module sc_executor_common::sandbox[][src]

Expand description

This module implements sandboxing support in the runtime.

Sandboxing is baked by wasmi at the moment. In future, however, we would like to add/switch to a compiled execution engine.

Structs

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.

Enums

Error occurred during instantiation of a sandboxed module.

Traits

This trait encapsulates sandboxing capabilities.

Functions

Instantiate a guest module and return it’s index in the store.