Attribute Macro service

Source
#[service]
Expand description

This attribute macro should applied to traits that need to be turned into RPCs. The macro will consume the trait and output three items in its place. For example, a trait Calculator will be replaced with two structs CalculatorClient and CalculatorService and a new trait by the same name with the methods which have had the a &self receiver added to them.