pub struct InferReport {Show 16 fields
pub source: String,
pub window_s: Option<f64>,
pub span_s: f64,
pub samples: u64,
pub dropped: u64,
pub keys_seen: usize,
pub keys_refused: u64,
pub origins: usize,
pub unparsed_keys: u64,
pub off_plane_keys: u64,
pub undocumented: u64,
pub unread: u64,
pub paths_refused: u64,
pub hinted_by_registry: bool,
pub caveats: Vec<String>,
pub producers: Vec<InferredProducer>,
}Expand description
What one inference run saw and what it drafted.
Fields§
§source: StringThe selector watched, or the .zrec path read.
window_s: Option<f64>The window asked for, seconds. Absent for a capture — nothing was asked; the span is in the rows (O4).
span_s: f64First to last sample, seconds — the span every rate and refresh guess is measured over.
samples: u64§dropped: u64Samples the bounded observer missed (O6).
keys_seen: usizeDistinct wire keys retained.
keys_refused: u64Keys refused at the key bound — the draft covers the retained set only (O6).
origins: usizeDistinct origins the retained keys came from. One origin cannot exhibit a leaf dimension; the draft says so when this is 1.
unparsed_keys: u64Keys under the base that are not v1 keys — nothing to draft from.
off_plane_keys: u64Keys on a verbatim plane (@rpc, @media, @blob): no
[[subject]] surface, so not drafted.
undocumented: u64Samples carrying no structural document (fields unobservable).
unread: u64Samples past the observation limit, never read (distinct from
undocumented, O6).
paths_refused: u64Path observations refused at the path-table bound (O6).
hinted_by_registry: boolWhether a registry slice set hinted the inference (var names, service ownership). The draft comes out without one, and says so.
caveats: Vec<String>Run-level caveats the reviewer must read — stated as data so they reach json and ndjson.
producers: Vec<InferredProducer>Trait Implementations§
Source§impl Clone for InferReport
impl Clone for InferReport
Source§fn clone(&self) -> InferReport
fn clone(&self) -> InferReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InferReport
impl Debug for InferReport
Auto Trait Implementations§
impl Freeze for InferReport
impl RefUnwindSafe for InferReport
impl Send for InferReport
impl Sync for InferReport
impl Unpin for InferReport
impl UnsafeUnpin for InferReport
impl UnwindSafe for InferReport
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