Crate abcgen_attributes

Source

Attribute Macrosยง

actor
This attribute is used to mark the struct or enum that is going to be the actor.
actor_module
The actor_module attribute is used to mark a module that contains the actor definition. It will generate the necessary code to implement the actor pattern, that is:
events
This attribute is used to mark the enum that defines the events that the actor can signal. It can be applied to
message_handler
This attribute is used to mark the methods that are going to handle the messages that the actor can receive.