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 duplicate 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
Auto Trait Implementations§
impl Freeze for CloudConnectionPool
impl RefUnwindSafe for CloudConnectionPool
impl Send for CloudConnectionPool
impl Sync for CloudConnectionPool
impl Unpin for CloudConnectionPool
impl UnwindSafe for CloudConnectionPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more