[][src]Crate remote_trait_object

Modules

raw_exchange

This module is needed only you want to perform some raw exchange (or export/import) of services.

transport

Structs

Config
Context
ServiceToExport
ServiceToImport

Enums

ServiceRef

Traits

SerdeFormat

A serde de/serialization format that will be used for a service.

Service

All service trait must implement this. This trait serves as a mere marker trait with two bounds

Functions

setup_identifiers

This is supposed to be called only once during the entire lifetime of the process. However it is ok to call multiple times if the IdMap is identical, especially in the tests where each test share that static id list

Attribute Macros

service

It generates all necessary helper structs that makes the trait be able to be used as a service. There will be many new public structs, but you don't have to know about them.

service_debug

This macro consumes the target trait, and will print the expanded code. Use this when you want to see the result of macro.