Trait cdrs::cluster::GetConnection[][src]

pub trait GetConnection<T: CDRSTransport + Send + Sync + 'static, M: ManageConnection<Connection = RefCell<T>, Error = Error>> {
    fn get_connection(&self) -> Option<PooledConnection<M>>;
}

GetConnection trait provides a unified interface for Session to get a connection from a load balancer

Required Methods

Returns connection from a load balancer.

Implementors