pub struct PipelineResult {
pub all_passed: bool,
pub outcomes: Vec<ValidationOutcome>,
pub total_cost: Duration,
pub ordering: Vec<usize>,
pub ledger: Vec<LedgerEntry>,
pub skipped: usize,
}Expand description
Result of running the full pipeline.
Fields§
§all_passed: boolWhether all validators passed (or pipeline is empty).
outcomes: Vec<ValidationOutcome>Outcomes for each validator that actually ran (in execution order).
total_cost: DurationTotal wall time of all validators that ran.
ordering: Vec<usize>The ordering that was used (validator ids in execution order).
ledger: Vec<LedgerEntry>Evidence ledger for this run.
skipped: usizeNumber of validators skipped due to early exit.
Trait Implementations§
Source§impl Clone for PipelineResult
impl Clone for PipelineResult
Source§fn clone(&self) -> PipelineResult
fn clone(&self) -> PipelineResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PipelineResult
impl RefUnwindSafe for PipelineResult
impl Send for PipelineResult
impl Sync for PipelineResult
impl Unpin for PipelineResult
impl UnsafeUnpin for PipelineResult
impl UnwindSafe for PipelineResult
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