pub struct BatchResult {
pub focus: Option<ProjectResult>,
pub full: Option<ProjectResult>,
pub manifest_sha256: String,
pub compiler_invocations: u64,
pub batched: bool,
pub selection_error: Option<ErrorInfo>,
pub engine_fault: Option<ErrorInfo>,
}Expand description
Source-engine batch output; each phase retains its independent proof report.
Fields§
§focus: Option<ProjectResult>Complete selected-function phase, absent if it did not produce evidence.
full: Option<ProjectResult>Independent complete requested-target phase. A standalone repair
document (the repair worker’s output, sail repair-check --output json)
carries it. A job result omits it: the job’s result is this phase,
so readers receive the graph once.
manifest_sha256: StringHash of the validated optional engine build manifest.
compiler_invocations: u64Number of Verus driver subprocesses actually started by this batch. An engine batch can run ghost verification and final executable checks inside one driver; this is not the number of internal Rust sessions.
batched: boolTrue only for engine-supported focus/full batching within compiler calls.
selection_error: Option<ErrorInfo>Exact focus selection was unavailable or ambiguous; full evidence is retained.
engine_fault: Option<ErrorInfo>The engine faulted before any target could fall back individually
(ADR 0027). full is then an independent stock verification, retained
as evidence; it never accepts the repair.
Implementations§
Source§impl BatchResult
impl BatchResult
Sourcepub fn accepted(&self) -> bool
pub fn accepted(&self) -> bool
Whether selection succeeded and full validation established current complete evidence. Preliminary focus success cannot authorize a repair, and neither can a stock fallback after an engine fault. Without a full phase, false.
Sourcepub fn accepted_with(&self, full: &ProjectResult) -> bool
pub fn accepted_with(&self, full: &ProjectResult) -> bool
Self::accepted with the full phase supplied separately, as in a job
result whose result holds it.