[][src]Struct cdrs_temp::load_balancing::SingleNode

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

Implementations

impl<N> SingleNode<N>[src]

pub fn new() -> Self[src]

Trait Implementations

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

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

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

Returns first node from a cluster

Auto Trait Implementations

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

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

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

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

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