Expand description
Crate provides support for wasm runtime.
Re-exports§
pub use log;
Modules§
- funcs
- Syscall implementations generic over wasmi and sandbox backends.
- lazy_
pages - Core logic for usage both in runtime and in lazy-pages native part.
- memory
- Work with WASM program memory in backends.
- runtime
- Trait that both sandbox and wasmi runtimes must implement.
- state
Macros§
Structs§
- Backend
Report - ExtInfo
- Limited
Str - Wrapped string to fit
core_backend::TRIMMED_MAX_LEN
amount of bytes. - System
Reservation Context - System
Termination Reason - Non-actor related termination reason.
Enums§
- Actor
Termination Reason - Environment
Error - Trap
Explanation - Undefined
Termination Reason - Unrecoverable
Execution Error - Execution error in infallible sys-call.
- Unrecoverable
ExtError - Unrecoverable
Memory Error - Memory error in infallible sys-call.
- Unrecoverable
Wait Error - Wait error in infallible sys-call.
Constants§
Traits§
- Backend
Alloc Syscall Error - A trait for conversion of the externalities memory management error to api error.
- Backend
Externalities - Extended externalities that can manage gas counters.
- Backend
State - Backend
Syscall Error - A trait for conversion of the externalities API error
to
UndefinedTerminationReason
andRunFallibleError
. - Backend
Termination - A trait for termination of the gear sys-calls execution backend.
- Environment