Expand description
tarpc client utilities.
This module provides client utilities for connecting to remote shards and the coordinator. It includes connection functions, retry logic, and a connection pool for efficient client reuse.
Structs§
- Client
Config - Configuration for client connections.
- Coordinator
Client - A coordinator client wrapper with automatic reconnection.
- Shard
Client Pool - A pool of shard client connections.
Functions§
- connect_
to_ coordinator - Create a client connection to the coordinator.
- connect_
to_ coordinator_ with_ config - Create a client connection to the coordinator with custom configuration.
- connect_
to_ coordinator_ with_ retry - Connect to the coordinator with automatic retry on failure.
- connect_
to_ shard - Create a client connection to a shard.
- connect_
to_ shard_ with_ config - Create a client connection to a shard with custom configuration.
- connect_
to_ shard_ with_ retry - Connect to a shard with automatic retry on failure.