pub struct RoundRobin { /* private fields */ }Expand description
Round-robin slots over the host’s stable dense agent array. Deletion/reordering is allowed between calls. Every remaining index is visited within ceil(n/k) calls while population and allowance stay fixed. No per-call allocation.
Implementations§
Trait Implementations§
Source§impl Clone for RoundRobin
impl Clone for RoundRobin
Source§fn clone(&self) -> RoundRobin
fn clone(&self) -> RoundRobin
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 Debug for RoundRobin
impl Debug for RoundRobin
Source§impl Default for RoundRobin
impl Default for RoundRobin
Source§fn default() -> RoundRobin
fn default() -> RoundRobin
Returns the “default value” for a type. Read more
impl Copy for RoundRobin
Auto Trait Implementations§
impl Freeze for RoundRobin
impl RefUnwindSafe for RoundRobin
impl Send for RoundRobin
impl Sync for RoundRobin
impl Unpin for RoundRobin
impl UnwindSafe for RoundRobin
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