Struct cdrs::cluster::Cluster [−][src]
pub struct Cluster<A> { /* fields omitted */ }
Methods
impl<'a, A: Authenticator + Sized> Cluster<A>
[src]
impl<'a, A: Authenticator + Sized> Cluster<A>
pub fn new(nodes_addrs: Vec<&'static str>, authenticator: A) -> Cluster<A>
[src]
pub fn new(nodes_addrs: Vec<&'static str>, authenticator: A) -> Cluster<A>
pub fn connect<LB>(&self, lb: LB) -> Result<Session<LB, A>> where
LB: LoadBalancingStrategy<TransportTcp> + Sized,
[src]
pub fn connect<LB>(&self, lb: LB) -> Result<Session<LB, A>> where
LB: LoadBalancingStrategy<TransportTcp> + Sized,
pub fn connect_snappy<LB>(&self, lb: LB) -> Result<Session<LB, A>> where
LB: LoadBalancingStrategy<TransportTcp> + Sized,
A: Authenticator + 'a + Sized,
[src]
pub fn connect_snappy<LB>(&self, lb: LB) -> Result<Session<LB, A>> where
LB: LoadBalancingStrategy<TransportTcp> + Sized,
A: Authenticator + 'a + Sized,
pub fn connect_lz4<LB>(&self, lb: LB) -> Result<Session<LB, A>> where
LB: LoadBalancingStrategy<TransportTcp> + Sized,
[src]
pub fn connect_lz4<LB>(&self, lb: LB) -> Result<Session<LB, A>> where
LB: LoadBalancingStrategy<TransportTcp> + Sized,