Crate gear_sandbox_env
source ·Expand description
Definition of a sandbox environment.
Structs§
- An entry in a environment definition table.
- Definition of runtime that could be used by sandboxed code.
- Error error that can be returned from host function.
- Typed value that can be returned from a wasm function through the dispatch thunk. Additionally contains globals values.
Enums§
- Describes an entity to define or import into the environment.
Constants§
- A global variable is not found.
- A global variable has been successfully changed.
- A global variable is immutable or has a different type.
- Execution error occurred (typically trap).
- Validation or instantiation error occurred when creating new sandboxed module instance.
- No error happened.
- Out-of-bounds access attempted with memory or table.
- Constant for specifying no limit when creating a sandboxed memory instance. For FFI purposes.