Skip to main content

Crate actify_macros

Crate actify_macros 

Source
Expand description

Procedural macros for the actify crate.

Everything here is re-exported from actify, and the generated code refers to actify’s types, so the macros only work alongside that crate.

Attribute Macros§

actify
Expands an impl block so its methods can be called remotely through a handle. The generated handle trait keeps the method signatures, so arguments and return values stay typed.
broadcast
Restores broadcasting for one method of an #[actify(skip_broadcast)] block.
skip
Leaves one method off the generated handle trait.
skip_broadcast
Marks a method inside an #[actify] impl block as not broadcasting.