pub struct SplitProposal {
pub source_station: StationId,
pub cells_to_move: Vec<CellCoord3>,
pub moved_pressure_score: u64,
}Expand description
Cell split proposal for external schedulers.
Fields§
§source_station: StationIdSource station that should give up some cell ownership.
cells_to_move: Vec<CellCoord3>Cells recommended for movement to a new or less loaded station.
moved_pressure_score: u64Total pressure score covered by cells_to_move.
Trait Implementations§
Source§impl Clone for SplitProposal
impl Clone for SplitProposal
Source§fn clone(&self) -> SplitProposal
fn clone(&self) -> SplitProposal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SplitProposal
impl Debug for SplitProposal
Source§impl Default for SplitProposal
impl Default for SplitProposal
Source§fn default() -> SplitProposal
fn default() -> SplitProposal
Returns the “default value” for a type. Read more
impl Eq for SplitProposal
Source§impl PartialEq for SplitProposal
impl PartialEq for SplitProposal
impl StructuralPartialEq for SplitProposal
Auto Trait Implementations§
impl Freeze for SplitProposal
impl RefUnwindSafe for SplitProposal
impl Send for SplitProposal
impl Sync for SplitProposal
impl Unpin for SplitProposal
impl UnsafeUnpin for SplitProposal
impl UnwindSafe for SplitProposal
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