pub struct GateSolveResult {
pub plan: ProposedPlan,
pub reports: Vec<SolverReport>,
pub invariant_results: Vec<InvariantResult>,
pub gate: PromotionGate,
}Expand description
Complete result from gate-based solving
Fields§
§plan: ProposedPlanThe proposed plan
reports: Vec<SolverReport>Solver reports (may have tried multiple solvers)
invariant_results: Vec<InvariantResult>Results of invariant checks
gate: PromotionGateThe promotion gate decision
Implementations§
Source§impl GateSolveResult
impl GateSolveResult
Sourcepub fn is_feasible(&self) -> bool
pub fn is_feasible(&self) -> bool
Check if the solution is feasible
Sourcepub fn is_promoted(&self) -> bool
pub fn is_promoted(&self) -> bool
Check if the plan was promoted
Sourcepub fn is_rejected(&self) -> bool
pub fn is_rejected(&self) -> bool
Check if the plan was rejected
Sourcepub fn requires_escalation(&self) -> bool
pub fn requires_escalation(&self) -> bool
Check if escalation is required
Sourcepub fn failed_invariants(&self) -> Vec<&str>
pub fn failed_invariants(&self) -> Vec<&str>
Get failed invariants
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GateSolveResult
impl RefUnwindSafe for GateSolveResult
impl Send for GateSolveResult
impl Sync for GateSolveResult
impl Unpin for GateSolveResult
impl UnsafeUnpin for GateSolveResult
impl UnwindSafe for GateSolveResult
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