[−][src]Trait cdrs::cluster::GetConnection
GetConnection
trait provides a unified interface for Session to get a connection
from a load balancer
Required methods
#[must_use]fn get_connection<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Option<Arc<ConnectionPool<M>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Option<Arc<ConnectionPool<M>>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns connection from a load balancer.