Module traits

Module traits 

Source
Expand description

Shareable Tetcore traits.

Structs§

CallInWasmExt
The call-in-wasm extension to register/retrieve from the externalities.
CodeNotFound
Could not find the :code in the externalities while initializing the RuntimeCode.
NoneFetchRuntimeCode
Type that implements FetchRuntimeCode and always returns None.
RuntimeCode
The Wasm code of a Tetcore runtime.
RuntimeSpawnExt
Extension that supports spawning extra runtime instances in externalities.
TaskExecutorExt
Task executor extension.
WrappedRuntimeCode
Wrapper to use a u8 slice or Vec as FetchRuntimeCode.

Enums§

MissingHostFunctions
Allow or Disallow missing host functions when instantiating a WASM blob.

Traits§

CallInWasm
Something that can call a method in a WASM blob.
CodeExecutor
Code execution engine.
Externalities
The Tetcore externalities.
ExternalitiesExt
Extension for the Externalities trait.
FetchRuntimeCode
Something that can fetch the runtime :code.
RuntimeSpawn
Runtime spawn extension.
SpawnNamed
Something that can spawn futures (blocking and non-blocking) with an assigned name.