pub struct RoundRobinRouter { /* private fields */ }Expand description
Round-robin router for load balancing
Implementations§
Source§impl RoundRobinRouter
impl RoundRobinRouter
Sourcepub fn next_queue(&self) -> &str
pub fn next_queue(&self) -> &str
Get the next queue in round-robin order
Auto Trait Implementations§
impl !Freeze for RoundRobinRouter
impl RefUnwindSafe for RoundRobinRouter
impl Send for RoundRobinRouter
impl Sync for RoundRobinRouter
impl Unpin for RoundRobinRouter
impl UnwindSafe for RoundRobinRouter
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