Attribute Macros§
- actor
- Generates the actor impls and forms necessary fields.
- handles
- A noop macro attribute used to specify messages to handle. Check [
actor
] for more information. - message
- Implements the [
Message
] trait for a type. Enables specifying the result type easily. - task
- Generates a [
vin
]-managed [tokio
] task. It’s a specialized actor with no handler that runs some piece of code until it’s completed or [vin
] has shutdown.