pub struct LoadBalancer<S: Supplier> { /* private fields */ }Implementations§
Source§impl<S: Supplier> LoadBalancer<S>
impl<S: Supplier> LoadBalancer<S>
pub fn new(supplier: S, policy: LoadBalancerPolicy<S::Element>) -> Self
Trait Implementations§
Source§impl<S> LoadBalancerTrait for LoadBalancer<S>where
S: Supplier,
impl<S> LoadBalancerTrait for LoadBalancer<S>where
S: Supplier,
Auto Trait Implementations§
impl<S> Freeze for LoadBalancer<S>where
S: Freeze,
impl<S> !RefUnwindSafe for LoadBalancer<S>
impl<S> Send for LoadBalancer<S>where
S: Send,
impl<S> Sync for LoadBalancer<S>where
S: Sync,
impl<S> Unpin for LoadBalancer<S>where
S: Unpin,
impl<S> !UnwindSafe for LoadBalancer<S>
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