A bounded pool of `NativeConnection` instances.
| 76 | |
| 77 | /// A bounded pool of `NativeConnection` instances. |
| 78 | pub struct Pool { |
| 79 | config: PoolConfig, |
| 80 | inner: Arc<PoolInner>, |
| 81 | semaphore: Semaphore, |
| 82 | } |
| 83 | |
| 84 | impl Pool { |
| 85 | /// Create a new pool with the given configuration. |