[−][src]Trait elasticsearch::http::transport::ConnectionPool
A pool of Connections, used to make API calls to Elasticsearch.
A ConnectionPool manages the connections, with different implementations determining how to get the next Connection. The simplest type of ConnectionPool is SingleNodeConnectionPool, which manages only a single connection, but other implementations may manage connections more dynamically at runtime, based upon the response to API calls.
Required methods
fn next(&self) -> &Connection
Gets a reference to the next Connection
Implementors
impl ConnectionPool for CloudConnectionPool
[src]
fn next(&self) -> &Connection
[src]
Gets a reference to the next Connection
impl ConnectionPool for SingleNodeConnectionPool
[src]
fn next(&self) -> &Connection
[src]
Gets a reference to the next Connection