pub struct Pipeline { /* private fields */ }Expand description
A verification pipeline consisting of multiple stages.
Implementations§
Source§impl Pipeline
impl Pipeline
Sourcepub fn builder(name: impl Into<String>) -> PipelineBuilder
pub fn builder(name: impl Into<String>) -> PipelineBuilder
Create a new pipeline builder.
Sourcepub fn verify<F>(&self, outputs: F) -> VerifyReport
pub fn verify<F>(&self, outputs: F) -> VerifyReport
Verify all stages with provided outputs.
outputs is a function that produces the GroundTruth for each stage name.
Verification proceeds in order; if stop_on_failure is true, stages
after a failure are marked as skipped.
Sourcepub fn verify_stage(
&self,
stage_name: &str,
output: &GroundTruth,
) -> Result<StageResult, PipelineError>
pub fn verify_stage( &self, stage_name: &str, output: &GroundTruth, ) -> Result<StageResult, PipelineError>
Verify a single stage by name.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pipeline
impl RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnsafeUnpin for Pipeline
impl UnwindSafe for Pipeline
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more