Crate gear_backend_common
source ·Expand description
Crate provides support for wasm runtime.
Re-exports
pub use log;
Modules
- Syscall implementations generic over wasmi and sandbox backends.
- Core logic for usage both in runtime and in lazy-pages native part.
- Work with WASM program memory in backends.
- Trait that both sandbox and wasmi runtimes must implement.
Macros
Structs
- Wrapped string to fit
core_backend::TRIMMED_MAX_LEN
amount of bytes. - Non-actor related termination reason.
Enums
- Execution error in infallible sys-call.
- Memory error in infallible sys-call.
- Wait error in infallible sys-call.
Constants
Traits
- A trait for conversion of the externalities memory management error to api error.
- Extended externalities that can manage gas counters.
- A trait for conversion of the externalities API error to
UndefinedTerminationReason
andRunFallibleError
. - A trait for termination of the gear sys-calls execution backend.