pub struct LiveRuntimeObservationSnapshot { /* private fields */ }Expand description
Immutable live snapshot. Its footer is always incomplete and has no terminal outcome.
Implementations§
Source§impl LiveRuntimeObservationSnapshot
impl LiveRuntimeObservationSnapshot
Sourcepub fn topology(&self) -> impl ExactSizeIterator<Item = &RuntimeTopologyRecord>
pub fn topology(&self) -> impl ExactSizeIterator<Item = &RuntimeTopologyRecord>
Static topology sorted by typed row identity.
Sourcepub fn events(&self) -> &[RuntimeTimelineEvent]
pub fn events(&self) -> &[RuntimeTimelineEvent]
Dynamic events sorted by recorder sequence.
Completeness, terminal, loss, and degradation metadata.
Sourcepub fn attempt_report(&self) -> Option<&QueryAttemptReport>
pub fn attempt_report(&self) -> Option<&QueryAttemptReport>
Fixed execution-attempt summary, when this observation belongs to an attempt.
The embedded report is the same immutable value delivered by
the attempt completion. In particular, report_ready_ns is
fixed before this snapshot is published and the JSONL footer
serializes this exact allocation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LiveRuntimeObservationSnapshot
impl RefUnwindSafe for LiveRuntimeObservationSnapshot
impl Send for LiveRuntimeObservationSnapshot
impl Sync for LiveRuntimeObservationSnapshot
impl Unpin for LiveRuntimeObservationSnapshot
impl UnsafeUnpin for LiveRuntimeObservationSnapshot
impl UnwindSafe for LiveRuntimeObservationSnapshot
Blanket Implementations§
impl<T> Allocation for T
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,
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