pub struct CondWindow {
pub window_s: f64,
pub observed_s: f64,
pub samples: u64,
pub dropped: u64,
pub last_sample_ago_s: Option<f64>,
pub last_drop_ago_s: Option<f64>,
pub invalid: u64,
pub checked: u64,
pub qos_mismatched: u64,
pub qos_judged: u64,
pub synthetic: u64,
}decode only.Expand description
What one evaluation window observed on one condition’s selector — the facts, separated from the judgement so the judgement is pure.
CondWindow and not Window: this type is re-exported at the crate root
beside BudgetWindow and RecordBounds, and a bare Window there reads
as the window of an engine that has several. Nothing serializes the
name (the type carries no Serialize), so the rename is Rust-side only.
Fields§
§window_s: f64The span this window judges, seconds.
observed_s: f64How long the observer has been watching in total — a claim about a span longer than this is unobservable (O4).
samples: u64Samples matching the selector within the window.
dropped: u64Stream drops within the window — unattributable to any one selector, so they taint every completeness claim (O6).
last_sample_ago_s: Option<f64>Seconds since the last matching sample; None = none seen since the
watch began.
last_drop_ago_s: Option<f64>Seconds since the last stream drop; None = the stream never dropped.
invalid: u64Samples whose payload did not reach Valid, among those checked.
checked: u64Samples actually decode-checked (a budget bounds the cost).
qos_mismatched: u64Samples that did not ride their declared QoS, among those judged.
qos_judged: u64Samples with a declared profile to judge against.
synthetic: u64Samples carrying the RFC 09 §5.3 synthetic-traffic marker — generated traffic judged as real would be a self-inflicted page, so every evidence line carries the count.
Trait Implementations§
Source§impl Clone for CondWindow
impl Clone for CondWindow
Source§fn clone(&self) -> CondWindow
fn clone(&self) -> CondWindow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CondWindow
Source§impl Debug for CondWindow
impl Debug for CondWindow
Source§impl Default for CondWindow
impl Default for CondWindow
Source§fn default() -> CondWindow
fn default() -> CondWindow
Auto Trait Implementations§
impl Freeze for CondWindow
impl RefUnwindSafe for CondWindow
impl Send for CondWindow
impl Sync for CondWindow
impl Unpin for CondWindow
impl UnsafeUnpin for CondWindow
impl UnwindSafe for CondWindow
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
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> ⓘ
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> ⓘ
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