pub struct VerificationPipeline { /* private fields */ }Expand description
Ordered passive-to-active verification pipeline.
Implementations§
Source§impl VerificationPipeline
impl VerificationPipeline
Sourcepub fn new(passive: PassiveVerifier, active: ActiveVerifier) -> Self
pub fn new(passive: PassiveVerifier, active: ActiveVerifier) -> Self
Creates a pipeline from independently configured verifiers.
Sourcepub fn passive(&self) -> &PassiveVerifier
pub fn passive(&self) -> &PassiveVerifier
Returns the passive verifier registry.
Sourcepub fn passive_mut(&mut self) -> &mut PassiveVerifier
pub fn passive_mut(&mut self) -> &mut PassiveVerifier
Returns the mutable passive verifier registry.
Sourcepub fn active(&self) -> &ActiveVerifier
pub fn active(&self) -> &ActiveVerifier
Returns the active verifier registry.
Sourcepub fn active_mut(&mut self) -> &mut ActiveVerifier
pub fn active_mut(&mut self) -> &mut ActiveVerifier
Returns the mutable active verifier registry.
Sourcepub fn verify_snapshots(
&self,
case: &VerificationCase,
passive_snapshot: &KnowledgeSnapshot,
active_snapshot: Option<&KnowledgeSnapshot>,
) -> Result<VerificationPipelineReport, VerificationError>
pub fn verify_snapshots( &self, case: &VerificationCase, passive_snapshot: &KnowledgeSnapshot, active_snapshot: Option<&KnowledgeSnapshot>, ) -> Result<VerificationPipelineReport, VerificationError>
Evaluates passive rules and optionally a post-probe active snapshot.
Terminal passive outcomes never reach the active verifier. Unknown
and NeedsReview request active verification when no active snapshot is
supplied.
Trait Implementations§
Source§impl Clone for VerificationPipeline
impl Clone for VerificationPipeline
Source§fn clone(&self) -> VerificationPipeline
fn clone(&self) -> VerificationPipeline
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 VerificationPipeline
impl Debug for VerificationPipeline
Source§impl Default for VerificationPipeline
impl Default for VerificationPipeline
Source§fn default() -> VerificationPipeline
fn default() -> VerificationPipeline
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VerificationPipeline
impl RefUnwindSafe for VerificationPipeline
impl Send for VerificationPipeline
impl Sync for VerificationPipeline
impl Unpin for VerificationPipeline
impl UnsafeUnpin for VerificationPipeline
impl UnwindSafe for VerificationPipeline
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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