Skip to main content

ArkheAction

Derive Macro ArkheAction 

Source
#[derive(ArkheAction)]
{
    // Attributes available to this derive:
    #[arkhe]
}
Expand description

Re-export of the kernel-companion derive macros. ArkheAction emits Sealed + ActionDeriv (pair with impl ActionCompute). ArkheComponent and ArkheEvent emit Sealed + the corresponding kernel trait — postcard-canonical defaults handle the byte round trip. Every derive expects #[arkhe(type_code = N, schema_version = M)]. Derive Sealed + ActionDeriv for a domain action. Pair with impl ActionCompute for ... to satisfy the kernel Action blanket.