#[non_exhaustive]pub struct VerifierResult {
pub checks_total: u32,
pub checks_passed: u32,
}Expand description
The verifier’s verdict for one level.
Why: verifier pass rate is the first thing #5441’s comparison names, and a
correctness regression blocks milestone closure outright.
What: two counters; checks_total == 0 means the verifier produced no
correctness evidence at all, which the preflight treats as mock evidence.
Test: bakeoff::tests::zero_verifier_checks_is_mock_evidence.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.checks_total: u32Total checks the verifier ran.
checks_passed: u32Checks that passed.
Trait Implementations§
Source§impl Clone for VerifierResult
impl Clone for VerifierResult
impl Copy for VerifierResult
Source§impl Debug for VerifierResult
impl Debug for VerifierResult
Source§impl<'de> Deserialize<'de> for VerifierResult
impl<'de> Deserialize<'de> for VerifierResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VerifierResult
Source§impl PartialEq for VerifierResult
impl PartialEq for VerifierResult
Source§impl Serialize for VerifierResult
impl Serialize for VerifierResult
impl StructuralPartialEq for VerifierResult
Auto Trait Implementations§
impl Freeze for VerifierResult
impl RefUnwindSafe for VerifierResult
impl Send for VerifierResult
impl Sync for VerifierResult
impl Unpin for VerifierResult
impl UnsafeUnpin for VerifierResult
impl UnwindSafe for VerifierResult
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreCreates a shared type from an unshared type.