pub struct ReplaySummary {
pub episode_record_count: u64,
pub episode_point_count: u64,
pub episode_byte_count: u64,
pub replayed_record_count: u64,
pub matched_bundle_count: u64,
pub max_matched_delta_ns: u64,
pub max_delta_ns: u64,
pub replay_wall_ns: u64,
pub peak_source_bytes: u64,
pub deterministic_order_verified: bool,
pub time_basis: String,
pub calibration_applied: bool,
}Expand description
Bounded episode and replay counters shown by the replay dashboard.
Fields§
§episode_record_count: u64Number of records admitted into the bounded episode.
episode_point_count: u64Point count admitted into the bounded episode.
episode_byte_count: u64Conservative allocated column bytes retained by the episode.
replayed_record_count: u64Number of records emitted by deterministic replay.
matched_bundle_count: u64Number of primary/secondary bundles matched by the sync window.
max_matched_delta_ns: u64Largest matched timestamp delta in nanoseconds.
max_delta_ns: u64Configured maximum timestamp delta in nanoseconds.
replay_wall_ns: u64Wall time spent in bounded ingest and replay, in nanoseconds.
peak_source_bytes: u64Largest source allocation observed while reading the bag.
deterministic_order_verified: boolWhether a second deterministic walk produced the same ordered trace.
time_basis: StringHuman-readable timestamp basis for the replay.
calibration_applied: boolWhether a source-bound clock/frame calibration was applied.
Implementations§
Source§impl ReplaySummary
impl ReplaySummary
Sourcepub fn try_new(
episode_record_count: u64,
episode_point_count: u64,
episode_byte_count: u64,
replayed_record_count: u64,
matched_bundle_count: u64,
max_matched_delta_ns: u64,
max_delta_ns: u64,
replay_wall_ns: u64,
peak_source_bytes: u64,
deterministic_order_verified: bool,
time_basis: impl Into<String>,
calibration_applied: bool,
) -> ViewerResult<Self>
pub fn try_new( episode_record_count: u64, episode_point_count: u64, episode_byte_count: u64, replayed_record_count: u64, matched_bundle_count: u64, max_matched_delta_ns: u64, max_delta_ns: u64, replay_wall_ns: u64, peak_source_bytes: u64, deterministic_order_verified: bool, time_basis: impl Into<String>, calibration_applied: bool, ) -> ViewerResult<Self>
Creates and validates bounded replay counters.
Sourcepub fn validate(&self) -> ViewerResult<()>
pub fn validate(&self) -> ViewerResult<()>
Validates counter ordering, sync bounds, and the timestamp basis.
Trait Implementations§
Source§impl Clone for ReplaySummary
impl Clone for ReplaySummary
Source§fn clone(&self) -> ReplaySummary
fn clone(&self) -> ReplaySummary
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 ReplaySummary
impl Debug for ReplaySummary
Source§impl<'de> Deserialize<'de> for ReplaySummary
impl<'de> Deserialize<'de> for ReplaySummary
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>,
Source§impl PartialEq for ReplaySummary
impl PartialEq for ReplaySummary
Source§fn eq(&self, other: &ReplaySummary) -> bool
fn eq(&self, other: &ReplaySummary) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ReplaySummary
impl Serialize for ReplaySummary
impl Eq for ReplaySummary
impl StructuralPartialEq for ReplaySummary
Auto Trait Implementations§
impl Freeze for ReplaySummary
impl RefUnwindSafe for ReplaySummary
impl Send for ReplaySummary
impl Sync for ReplaySummary
impl Unpin for ReplaySummary
impl UnsafeUnpin for ReplaySummary
impl UnwindSafe for ReplaySummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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