Module sp_core::sandbox [−][src]
Definition of a sandbox environment.
Structs
Entry | An entry in a environment definition table. |
EnvironmentDefinition | Definition of runtime that could be used by sandboxed code. |
HostError | Error error that can be returned from host function. |
Enums
ExternEntity | Describes an entity to define or import into the environment. |
Constants
ERR_EXECUTION | Execution error occurred (typically trap). |
ERR_MODULE | Validation or instantiation error occurred when creating new sandboxed module instance. |
ERR_OK | No error happened. |
ERR_OUT_OF_BOUNDS | Out-of-bounds access attempted with memory or table. |
MEM_UNLIMITED | Constant for specifying no limit when creating a sandboxed memory instance. For FFI purposes. |