pub struct LoadBalanceLayer<LB, D> { /* private fields */ }Available on crate feature
client only.Trait Implementations§
Source§impl<LB: Clone, D: Clone> Clone for LoadBalanceLayer<LB, D>
impl<LB: Clone, D: Clone> Clone for LoadBalanceLayer<LB, D>
Source§fn clone(&self) -> LoadBalanceLayer<LB, D>
fn clone(&self) -> LoadBalanceLayer<LB, D>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<LB: Default, D: Default> Default for LoadBalanceLayer<LB, D>
impl<LB: Default, D: Default> Default for LoadBalanceLayer<LB, D>
Source§fn default() -> LoadBalanceLayer<LB, D>
fn default() -> LoadBalanceLayer<LB, D>
Returns the “default value” for a type. Read more
Source§impl<LB, D, S> Layer<S> for LoadBalanceLayer<LB, D>where
LB: LoadBalance<D>,
D: Discover,
impl<LB, D, S> Layer<S> for LoadBalanceLayer<LB, D>where
LB: LoadBalance<D>,
D: Discover,
impl<LB: Copy, D: Copy> Copy for LoadBalanceLayer<LB, D>
Auto Trait Implementations§
impl<LB, D> Freeze for LoadBalanceLayer<LB, D>
impl<LB, D> RefUnwindSafe for LoadBalanceLayer<LB, D>where
LB: RefUnwindSafe,
D: RefUnwindSafe,
impl<LB, D> Send for LoadBalanceLayer<LB, D>
impl<LB, D> Sync for LoadBalanceLayer<LB, D>
impl<LB, D> Unpin for LoadBalanceLayer<LB, D>
impl<LB, D> UnwindSafe for LoadBalanceLayer<LB, D>where
LB: UnwindSafe,
D: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more