Crate dsl_ractor

Crate dsl_ractor 

Source

Macros§

actor_handle
Procedural macro to define the actor’s handle_msg handler. Expands the given block or expression into the async handle_msg method.
actor_pre_start
Procedural macro to define the actor’s on_start handler. Expands the given block or expression into the async on_start method.

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.