Struct uiuifree_elastic::CloudConnectionPool
source · pub struct CloudConnectionPool { /* private fields */ }Expand description
A connection pool that manages the single connection to an Elasticsearch cluster running on Elasticsearch service in Elastic Cloud.
Implementations§
source§impl CloudConnectionPool
impl CloudConnectionPool
sourcepub fn new(cloud_id: &str) -> Result<CloudConnectionPool, Error>
pub fn new(cloud_id: &str) -> Result<CloudConnectionPool, Error>
Creates a new instance of CloudConnectionPool.
Trait Implementations§
source§impl Clone for CloudConnectionPool
impl Clone for CloudConnectionPool
source§fn clone(&self) -> CloudConnectionPool
fn clone(&self) -> CloudConnectionPool
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 CloudConnectionPool
impl ConnectionPool for CloudConnectionPool
source§fn next(&self) -> &Connection
fn next(&self) -> &Connection
Gets a reference to the next Connection