[][src]Struct cdrs_temp::load_balancing::RoundRobin

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

Implementations

impl<N> RoundRobin<N>[src]

pub fn new() -> Self[src]

Trait Implementations

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

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

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

Returns next node from a cluster

Auto Trait Implementations

impl<N> !RefUnwindSafe for RoundRobin<N>

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

impl<N> !Sync for RoundRobin<N>

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

impl<N> UnwindSafe for RoundRobin<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.