[][src]Attribute Macro remote_trait_object::service

#[service]

It generates all necessary helper structs that makes the trait be able to be used as a service.

It takes three arguments optionally

  • serde_format = _ - Specify a type that implements trait SerdeFormat. The default is serde_cbor
  • no_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 structs, but you don't have to know about them.