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