pub struct LivePublishSummary {Show 13 fields
pub source_message_count: u64,
pub selected_record_count: u64,
pub selected_point_count: u64,
pub selected_bytes: u64,
pub peak_source_bytes: u64,
pub published_message_count: u64,
pub received_message_count: u64,
pub published_point_count: u64,
pub deterministic_order_verified: bool,
pub frame_identity_match: bool,
pub calibration_registered: bool,
pub calibration_applied: bool,
pub time_basis: String,
}Expand description
Aggregate counts and admission inputs for one live-publish run.
Fields§
§source_message_count: u64Sum of source messages for the selected source topics.
selected_record_count: u64Number of bounded records admitted before publish.
selected_point_count: u64Number of points in the bounded source episode.
selected_bytes: u64Conservative allocated bytes retained by the bounded source episode.
peak_source_bytes: u64Largest source allocation observed while reading the bag.
published_message_count: u64Number of packets handed to the adapter.
received_message_count: u64Number of packets received back from the adapter.
published_point_count: u64Number of points represented by published packets.
deterministic_order_verified: boolWhether the deterministic episode order was verified.
frame_identity_match: boolWhether all emitted records matched the expected frame.
calibration_registered: boolWhether the source-bound readiness receipt registered calibration.
calibration_applied: boolWhether a clock/frame transform was actually applied to packets.
time_basis: StringTimestamp domain exposed by the published messages.
Implementations§
Source§impl LivePublishSummary
impl LivePublishSummary
Sourcepub fn try_new(
source_message_count: u64,
selected_record_count: u64,
selected_point_count: u64,
selected_bytes: u64,
peak_source_bytes: u64,
published_message_count: u64,
received_message_count: u64,
published_point_count: u64,
deterministic_order_verified: bool,
frame_identity_match: bool,
calibration_registered: bool,
calibration_applied: bool,
time_basis: impl Into<String>,
) -> ViewerResult<Self>
pub fn try_new( source_message_count: u64, selected_record_count: u64, selected_point_count: u64, selected_bytes: u64, peak_source_bytes: u64, published_message_count: u64, received_message_count: u64, published_point_count: u64, deterministic_order_verified: bool, frame_identity_match: bool, calibration_registered: bool, calibration_applied: bool, time_basis: impl Into<String>, ) -> ViewerResult<Self>
Creates and validates publish counters and gates.
Sourcepub fn validate(&self) -> ViewerResult<()>
pub fn validate(&self) -> ViewerResult<()>
Validates monotonic counters and calibration ordering.
Trait Implementations§
Source§impl Clone for LivePublishSummary
impl Clone for LivePublishSummary
Source§fn clone(&self) -> LivePublishSummary
fn clone(&self) -> LivePublishSummary
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 LivePublishSummary
impl Debug for LivePublishSummary
Source§impl<'de> Deserialize<'de> for LivePublishSummary
impl<'de> Deserialize<'de> for LivePublishSummary
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 LivePublishSummary
impl PartialEq for LivePublishSummary
Source§fn eq(&self, other: &LivePublishSummary) -> bool
fn eq(&self, other: &LivePublishSummary) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for LivePublishSummary
impl Serialize for LivePublishSummary
impl Eq for LivePublishSummary
impl StructuralPartialEq for LivePublishSummary
Auto Trait Implementations§
impl Freeze for LivePublishSummary
impl RefUnwindSafe for LivePublishSummary
impl Send for LivePublishSummary
impl Sync for LivePublishSummary
impl Unpin for LivePublishSummary
impl UnsafeUnpin for LivePublishSummary
impl UnwindSafe for LivePublishSummary
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