Skip to main content

Crate orbit_client_pool

Crate orbit_client_pool 

Source
Expand description

Protocol-neutral outbound client pools for asynchronous applications.

ClientPool owns process-local client objects. Creating the pool performs no IO; ClientPool::acquire creates on demand and ClientPool::run maintains the configured warm floor during the runtime phase.

Structs§

ClientLease
Exclusive checkout of one local client.
ClientPool
A bounded process-local pool of protocol-specific clients.
PoolOptions
Code-first operating policy for one process-local client pool.
PoolStats
Current local ownership and queue counts.

Enums§

AcquireError
Failure to acquire one client.
ActiveRequestPolicy
Shutdown behavior declared by the owner of one active request.
OptionsError
Invalid client-pool options.
PoolDirective
Admission consequence derived from one protocol-specific outcome.
PoolState
Admission and lifecycle state of one pool.

Traits§

ClientManager
Creates and validates one protocol-specific outbound client.
ClientPolicy
Application-owned classification from a domain outcome to pool admission.