pub struct RoundRobinPolicy { /* private fields */ }Expand description
Round-robin policy. Ignores hints.
Trait Implementations§
Source§impl Default for RoundRobinPolicy
impl Default for RoundRobinPolicy
Source§impl PlacementPolicy for RoundRobinPolicy
impl PlacementPolicy for RoundRobinPolicy
fn choose( &self, _hints: &PlacementHints, candidates: &[(u32, &DeviceLoad)], ) -> Option<u32>
Auto Trait Implementations§
impl !Freeze for RoundRobinPolicy
impl !RefUnwindSafe for RoundRobinPolicy
impl Send for RoundRobinPolicy
impl Sync for RoundRobinPolicy
impl Unpin for RoundRobinPolicy
impl UnsafeUnpin for RoundRobinPolicy
impl UnwindSafe for RoundRobinPolicy
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