pub struct ExpectReport {
pub selector: String,
pub window_s: f64,
pub ended_early: bool,
pub samples: u64,
pub keys_seen: usize,
pub dropped: u64,
pub rate_hz: Option<f64>,
pub violations: Vec<String>,
pub violations_total: u64,
pub unmet: Vec<String>,
pub verdict: ExpectVerdict,
}Expand description
The zenctl expect report (#160) — the window, what rode through it,
and the judgement with its reasons spelled out.
Fields§
§selector: String§window_s: f64The window actually observed (shorter than requested on early success).
ended_early: bool§samples: u64§keys_seen: usize§dropped: u64Samples the bounded observer missed (O6) — the reason Impaired
exists.
rate_hz: Option<f64>Present only when a rate bound was requested; measured over the full requested window.
violations: Vec<String>Up to a cap of per-sample failures, verbatim.
violations_total: u64The exact total behind the capped examples.
unmet: Vec<String>Why the verdict is not Met, one sentence per failed requirement.
verdict: ExpectVerdictTrait Implementations§
Source§impl Clone for ExpectReport
impl Clone for ExpectReport
Source§fn clone(&self) -> ExpectReport
fn clone(&self) -> ExpectReport
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 ExpectReport
impl Debug for ExpectReport
Auto Trait Implementations§
impl Freeze for ExpectReport
impl RefUnwindSafe for ExpectReport
impl Send for ExpectReport
impl Sync for ExpectReport
impl Unpin for ExpectReport
impl UnsafeUnpin for ExpectReport
impl UnwindSafe for ExpectReport
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more