pub struct NetworkFlowPack;Trait Implementations§
Source§impl Pack for NetworkFlowPack
impl Pack for NetworkFlowPack
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 NetworkFlowPack
impl RefUnwindSafe for NetworkFlowPack
impl Send for NetworkFlowPack
impl Sync for NetworkFlowPack
impl Unpin for NetworkFlowPack
impl UnsafeUnpin for NetworkFlowPack
impl UnwindSafe for NetworkFlowPack
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