pub struct SingleNodeConnectionPool { /* private fields */ }Expand description
A connection pool that manages the single connection to an Elasticsearch cluster.
Implementations§
source§impl SingleNodeConnectionPool
impl SingleNodeConnectionPool
sourcepub fn new(url: Url) -> SingleNodeConnectionPool
pub fn new(url: Url) -> SingleNodeConnectionPool
Creates a new instance of SingleNodeConnectionPool.
Trait Implementations§
source§impl Clone for SingleNodeConnectionPool
impl Clone for SingleNodeConnectionPool
source§fn clone(&self) -> SingleNodeConnectionPool
fn clone(&self) -> SingleNodeConnectionPool
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl ConnectionPool for SingleNodeConnectionPool
impl ConnectionPool for SingleNodeConnectionPool
source§fn next(&self) -> &Connection
fn next(&self) -> &Connection
Gets a reference to the next Connection
source§impl Debug for SingleNodeConnectionPool
impl Debug for SingleNodeConnectionPool
source§impl Default for SingleNodeConnectionPool
impl Default for SingleNodeConnectionPool
source§fn default() -> SingleNodeConnectionPool
fn default() -> SingleNodeConnectionPool
Creates a default instance of SingleNodeConnectionPool, using DEFAULT_ADDRESS.