Crate rustic_macros
source ·Expand description
Attribute Macros
- Macro used to add guards to functions. If the guard function returns
Ok
then execution would continue. If the guard function returnsErr
the execution would stop and state changes would be reverted by invokingic_cdk::api::call::reject
.