Expand description
Resource pool for sharing bounded resources across async tasks.
Provides a Pool trait and a built-in SemaphorePool<T> implementation
that distributes items drawn from a Vec<T> under a counting semaphore.
Structs§
- Auto
Reconnect Pool - A pool wrapper that transparently reconnects broken resources.
- Pooled
- A pooled resource that releases the permit when dropped.
- Semaphore
Pool - In-memory pool backed by a semaphore +
Vec.
Enums§
- Pool
Error - Errors returned by pool operations.
Traits§
- Pool
- A pool of resources with bounded concurrency.
- Reconnectable
- A liveness probe for a pooled resource.