pub struct GraphPartitioningPack;Trait Implementations§
Source§impl Pack for GraphPartitioningPack
impl Pack for GraphPartitioningPack
Source§fn validate_inputs(&self, inputs: &Value) -> Result<()>
fn validate_inputs(&self, inputs: &Value) -> Result<()>
Validate and deserialize the input payload
Source§fn invariants(&self) -> &[InvariantDef]
fn invariants(&self) -> &[InvariantDef]
Get invariant definitions for this pack
Source§fn solve(&self, spec: &ProblemSpec) -> Result<PackSolveResult>
fn solve(&self, spec: &ProblemSpec) -> Result<PackSolveResult>
Solve the problem and return a proposed plan
Source§fn check_invariants(&self, _plan: &ProposedPlan) -> Result<Vec<InvariantResult>>
fn check_invariants(&self, _plan: &ProposedPlan) -> Result<Vec<InvariantResult>>
Check invariants against a proposed plan
Source§fn evaluate_gate(
&self,
_plan: &ProposedPlan,
invariant_results: &[InvariantResult],
) -> PromotionGate
fn evaluate_gate( &self, _plan: &ProposedPlan, invariant_results: &[InvariantResult], ) -> PromotionGate
Evaluate promotion gate based on plan and invariant results
Auto Trait Implementations§
impl Freeze for GraphPartitioningPack
impl RefUnwindSafe for GraphPartitioningPack
impl Send for GraphPartitioningPack
impl Sync for GraphPartitioningPack
impl Unpin for GraphPartitioningPack
impl UnsafeUnpin for GraphPartitioningPack
impl UnwindSafe for GraphPartitioningPack
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