[−][src]Attribute Macro remote_trait_object::service
#[service]
It generates all necessary helper struct
s that makes the trait be able to be used as a service.
It takes three arguments optionally
serde_format = _
- Specify a type that implementstrait SerdeFormat
. The default is serde_cborno_proxy
- If provided, the trait will be used only as a service object.no_skeleton
- If provided, the trait will be used only as a proxy object.
There will be many new public struct
s, but you don't have to know about them.