Macros§
- actor_
handle - Procedural macro to define the actor’s
handle_msghandler. Expands the given block or expression into the asynchandle_msgmethod. - actor_
pre_ start - Procedural macro to define the actor’s
on_starthandler. Expands the given block or expression into the asyncon_startmethod.
Attribute Macros§
- actor
- Attribute macro to define an
Actor. Parses and validates arguments, then expands into the actor implementation. Emits a compile error on invalid input.