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