pub struct RandomBalancer;Expand description
Random load balancer.
Selects a random worker for each message distribution.
Implementations§
Trait Implementations§
Source§impl Debug for RandomBalancer
impl Debug for RandomBalancer
Source§impl Default for RandomBalancer
impl Default for RandomBalancer
Source§fn default() -> RandomBalancer
fn default() -> RandomBalancer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RandomBalancer
impl RefUnwindSafe for RandomBalancer
impl Send for RandomBalancer
impl Sync for RandomBalancer
impl Unpin for RandomBalancer
impl UnsafeUnpin for RandomBalancer
impl UnwindSafe for RandomBalancer
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