[][src]Struct cdrs_temp::load_balancing::RoundRobinSync

pub struct RoundRobinSync<N> { /* fields omitted */ }

Implementations

impl<N> RoundRobinSync<N>[src]

pub fn new() -> Self[src]

Trait Implementations

impl<N> From<Vec<N>> for RoundRobinSync<N>[src]

impl<N> LoadBalancingStrategy<N> for RoundRobinSync<N>[src]

fn next(&self) -> Option<&N>[src]

Returns next node from a cluster

Auto Trait Implementations

impl<N> RefUnwindSafe for RoundRobinSync<N> where
    N: RefUnwindSafe

impl<N> Send for RoundRobinSync<N> where
    N: Send

impl<N> Sync for RoundRobinSync<N> where
    N: Sync

impl<N> Unpin for RoundRobinSync<N> where
    N: Unpin

impl<N> UnwindSafe for RoundRobinSync<N> where
    N: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.