Crate oasis_runtime_sdk
source ·Expand description
Oasis runtime SDK.
Re-exports§
pub use crate::context::Context;
pub use crate::module::Module;
pub use crate::runtime::Runtime;
pub use crate::state::CurrentState;
pub use oasis_core_runtime as core;
pub use cbor;
Modules§
- Handling of different call formats.
- Configuration types.
- Execution context.
- Cryptography.
- Transaction dispatcher.
- Exposed EnclaveRPC methods.
- Error types for runtimes.
- Event types for runtimes.
- Historic state access.
- Keymanager interface.
- Runtime modules.
- Runtime modules included with the SDK.
- Runtime.
- Types related to schedule control.
- Transaction sender metadata.
- Storage.
- Subcall dispatch.
- Module which contains utilities useful for testing and development.
- Types defined by the SDK.
Macros§
- Constructs an
oasis_sdk::core::common::version::Version
from the Cargo.toml version.
Structs§
- A protocol or runtime version.
Attribute Macros§
- A helper attribute for
#[sdk_derive(...)]
. It doesn’t do anyting on its own; it only marks functions that represent a paratime method handler. The permitted forms are: - A helper attribute for
#[sdk_derive(...)]
. It doesn’t do anything on its own; it only marks functions that represent a module state migration. - Derives traits from a non-trait
impl
block (rather than from astruct
).
Derive Macros§
- Derives the
Error
trait on an enum. - Derives the
Event
trait on an enum.