Expand description
WARNING: This is an API preview! Most code won’t work or even type check properly! This crate defines types and macros for constructing easy to use account and module implementations. It integrates with the encoding layer but does not specify a state management framework.
Modules§
- Basic error handling utilities.
- Handler traits for account and module handlers.
- Resource module.
- Self-destruct functionality for accounts.
Macros§
- Return an error with a formatted message.
- Ensure a condition is true, otherwise return an error with a formatted message.
- Format an error message.
Structs§
- Context wraps a single message request (and possibly response as well) along with the router callbacks necessary for making nested message calls.
- An event bus that can be used to emit events.
Type Aliases§
- Response is the type that should be used for message handler responses.