Crate sp_io[][src]

I/O host interface for substrate runtime. Substrate runtime standard library as compiled when linked with Rust’s standard library.

Modules

crypto

Interfaces for working with crypto related types from within the runtime.

default_child_storage

Interface for accessing the child storage for default child trie, from within the runtime.

hashing

Interface that provides functions for hashing with different algorithms.

logging

Interface that provides functions for logging from within the runtime.

misc

Interface that provides miscellaneous functions for communicating between the runtime and the node.

offchain

Interface that provides functions to access the offchain functionality.

offchain_index

Interface that provides functions to access the Offchain DB.

sandbox

Wasm-only interface that provides functions for interacting with the sandbox.

storage

Interface for accessing the storage from within the runtime.

trie

Interface that provides trie related functionality.

wasm_tracing

Interface to provide tracing facilities for wasm. Modelled after tokios tracing-crate interfaces. See sp-tracing for more information.

Structs

Crossing

Crossing is a helper wrapping any Encode-Decodeable type for transferring over the wasm barrier.

VerificationExt

The keystore extension to register/retrieve from the externalities.

Enums

EcdsaVerifyError

Error verifying ECDSA signature

Functions

init_tracing

Initialize tracing of sp_tracing not necessary – noop. To enable build without std and with the with-tracing-feature.

Type Definitions

SubstrateHostFunctions

The host functions Substrate provides for the Wasm runtime environment.

TestExternalities

Type alias for Externalities implementation used in tests.