pub struct ReplayOutcome {
pub op_id: String,
pub expected_stage_id: String,
pub produced_stage_id: Option<String>,
pub reproduced: bool,
pub behavioral_samples: Option<usize>,
pub attestation_id: String,
}Expand description
The result of comparing a regenerated candidate against an op’s
recorded output (#836 G3), returned by Store::replay_compare
after it emits the Replay attestation.
Fields§
§op_id: String§expected_stage_id: String§produced_stage_id: Option<String>The candidate’s stage id when it regenerated the same sig, else
None.
reproduced: boolWhether the regeneration reproduced the recorded change (exact or behavioral).
behavioral_samples: Option<usize>Set when reproduction was behavioral (same values over N sampled
inputs) rather than an exact stage-id match. None for an exact
match or a genuine miss.
attestation_id: StringThe id of the Replay attestation this comparison emitted.
Trait Implementations§
Source§impl Clone for ReplayOutcome
impl Clone for ReplayOutcome
Source§fn clone(&self) -> ReplayOutcome
fn clone(&self) -> ReplayOutcome
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 ReplayOutcome
impl Debug for ReplayOutcome
Auto Trait Implementations§
impl Freeze for ReplayOutcome
impl RefUnwindSafe for ReplayOutcome
impl Send for ReplayOutcome
impl Sync for ReplayOutcome
impl Unpin for ReplayOutcome
impl UnsafeUnpin for ReplayOutcome
impl UnwindSafe for ReplayOutcome
Blanket Implementations§
impl<T> Allocation for T
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