MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / Pool

Class Pool

nodedb-client/src/native/pool.rs:78–82  ·  view source on GitHub ↗

A bounded pool of `NativeConnection` instances.

Source from the content-addressed store, hash-verified

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

Callers 1

read_filesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected