Crate oasis_runtime_sdk_macros
source ·Macros§
- Constructs an
oasis_sdk::core::common::version::Version
from the Cargo.toml 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.