Expand description
runtime crate
Provides the core infrastructure for asynchronous RPC, including:
Runtime
: manages message dispatch and executor registration.CONTEXT
: task-local RPC context for client and server execution.- Traits:
MessageHandler
andTypeInfo
for defining handlers. - Message definitions and serialization utilities.
Re-exports§
Modules§
Macros§
- rpc
- Procedural macro
rpc!
– transforms async functions and methods into remote‑callable RPC endpoints.
Structs§
- Handler
Registration - Registration entry for automatic handler registration via inventory
- Inventory
Function Item - Inventory
Trait Item - Object
Ref - Runtime
Context - Task-local execution context for RPC calls.
- Runtime
Impl - The core RPC runtime.
- Runtime
Info - Information about runtime
Enums§
Statics§
Traits§
- Auto
Register - Identity
- Trait used to identify objects (data stored in database, instances of structs using rpc)
- Inventory
Item Info - Inventory
Item Provider - Message
Handler - Trait for messages that can be handled by the runtime
- Runtime
Trait - Type
Info - Provides static type metadata for message types.