pub struct StageEvidence {
pub stage: String,
pub stage_index: usize,
pub attempt: u32,
pub verdict: Verdict,
pub source: VerdictSource,
pub reason: Option<String>,
}Expand description
One stage execution’s recorded result, and one entry in a run’s evidence
log. Rows persist as they are produced and callers must supply them in
log order, because the walk is a replay of that order rather than a
lookup over a set: the same stage may hold several rows once a
return_to edge sends the walk back through it.
stage_index and attempt are the log key and are authoritative;
stage is carried for rendering only. A daemon crash mid-flow resumes
idempotently because next_step re-derives the same position from the
same rows.
Fields§
§stage: String§stage_index: usize§attempt: u321 for a stage’s first execution, incrementing each time a return_to
edge re-enters it.
verdict: Verdict§source: VerdictSource§reason: Option<String>Trait Implementations§
Source§impl Clone for StageEvidence
impl Clone for StageEvidence
Source§fn clone(&self) -> StageEvidence
fn clone(&self) -> StageEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StageEvidence
impl Debug for StageEvidence
impl Eq for StageEvidence
Source§impl PartialEq for StageEvidence
impl PartialEq for StageEvidence
impl StructuralPartialEq for StageEvidence
Auto Trait Implementations§
impl Freeze for StageEvidence
impl RefUnwindSafe for StageEvidence
impl Send for StageEvidence
impl Sync for StageEvidence
impl Unpin for StageEvidence
impl UnsafeUnpin for StageEvidence
impl UnwindSafe for StageEvidence
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.