[][src]Module sp_core::traits

Shareable Substrate 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.

KeystoreExt

The keystore extension to register/retrieve from the externalities.

NoneFetchRuntimeCode

Type that implements FetchRuntimeCode and always returns None.

RuntimeCode

The Wasm code of a Substrate runtime.

TaskExecutorExt

Task executor extension.

WrappedRuntimeCode

Wrapper to use a u8 slice or Vec as FetchRuntimeCode.

Enums

Error

BareCryptoStore error

MissingHostFunctions

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

Traits

BareCryptoStore

Something that generates, stores and provides access to keys.

CallInWasm

Something that can call a method in a WASM blob.

CloneableSpawn

Something that can spawn tasks and also can be cloned.

CodeExecutor

Code execution engine.

Externalities

The Substrate externalities.

ExternalitiesExt

Extension for the Externalities trait.

FetchRuntimeCode

Something that can fetch the runtime :code.

SpawnNamed

Something that can spawn futures (blocking and non-blocking) with am assigned name.

Type Definitions

BareCryptoStorePtr

A pointer to the key store.