Expand description
This crate provides one core attribute procedural macro that is attached to the trait that you want to use as a service.
See more details in remote-trait-object
crate.
Attribute Macrosยง
- It generates all necessary helper
struct
s that makes the trait be able to be used as a service. - This macro consumes the target trait, and will print the expanded code. Use this when you want to see the result of macro.