pub struct ForecastingPack;Trait Implementations§
Source§impl Pack for ForecastingPack
impl Pack for ForecastingPack
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 ForecastingPack
impl RefUnwindSafe for ForecastingPack
impl Send for ForecastingPack
impl Sync for ForecastingPack
impl Unpin for ForecastingPack
impl UnsafeUnpin for ForecastingPack
impl UnwindSafe for ForecastingPack
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more