pub struct ActiveVerifier { /* private fields */ }Expand description
Pure verifier for evidence collected by an explicit active probe.
This type does not send traffic. The caller executes a planned probe, records its observations through the evidence engine, and supplies the before/after snapshots. A matching active rule must cite at least one new evidence ID.
Implementations§
Source§impl ActiveVerifier
impl ActiveVerifier
Sourcepub fn register(
&mut self,
rule: VerificationRule,
) -> Result<VerifierWrite, VerificationError>
pub fn register( &mut self, rule: VerificationRule, ) -> Result<VerifierWrite, VerificationError>
Registers one active rule idempotently.
Sourcepub fn verify_snapshots(
&self,
case: &VerificationCase,
baseline: &KnowledgeSnapshot,
after_probe: &KnowledgeSnapshot,
) -> Result<VerificationReport, VerificationError>
pub fn verify_snapshots( &self, case: &VerificationCase, baseline: &KnowledgeSnapshot, after_probe: &KnowledgeSnapshot, ) -> Result<VerificationReport, VerificationError>
Verifies a case using a baseline and post-probe snapshot.
Trait Implementations§
Source§impl Clone for ActiveVerifier
impl Clone for ActiveVerifier
Source§fn clone(&self) -> ActiveVerifier
fn clone(&self) -> ActiveVerifier
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 ActiveVerifier
impl Debug for ActiveVerifier
Auto Trait Implementations§
impl Freeze for ActiveVerifier
impl RefUnwindSafe for ActiveVerifier
impl Send for ActiveVerifier
impl Sync for ActiveVerifier
impl Unpin for ActiveVerifier
impl UnsafeUnpin for ActiveVerifier
impl UnwindSafe for ActiveVerifier
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