Skip to main content

Crate actify_macros

Crate actify_macros 

Source
Expand description

Procedural macros for the actify crate.

Depend on actify rather than this crate: everything here is re-exported from there, and the generated code refers to actify’s types.

Attribute Macros§

actify
The actify macro expands an impl block of a rust struct to support usage in an actor model. Effectively, this macro allows to remotely call an actor method through a handle. By using traits, the methods on the handle have the same signatures, so that type checking is enforced
broadcast
Restores broadcasting for one method of an #[actify(skip_broadcast)] block.
skip_broadcast
Marks a method inside an #[actify] impl block as not broadcasting.