Crate archy_macros

Crate archy_macros 

Source

Attribute Macros§

service
Attribute macro for Service impl blocks - generates message enum, Service impl, and Client methods
shutdown
Marker attribute for service shutdown hook. Use on a single method within a #[service] impl block. The method runs on shutdown, before channels close.
startup
Marker attribute for service startup hook. Use on a single method within a #[service] impl block. The method runs after service creation, before workers start receiving messages.
traced
Marker attribute to opt a method into span propagation. Use on methods within a #[service] impl block.
untraced
Marker attribute to opt a method out of span propagation. Use on methods within a #[service(traced)] impl block.

Derive Macros§

Service
Derive macro for Service structs - generates ServiceFactory implementation