pub struct EdgePartitionSummary {Show 15 fields
pub source_packet_count: u64,
pub admitted_transfer_count: u64,
pub completed_transfer_count: u64,
pub payload_bytes: u64,
pub counted_copy_bytes: u64,
pub max_queue_depth: u64,
pub soft_limit_trips: u64,
pub hard_rejects: u64,
pub deterministic_order_verified: bool,
pub upstream_publish_ready: bool,
pub source_identity_match: bool,
pub frame_identity_match: bool,
pub calibration_registered: bool,
pub calibration_applied: bool,
pub time_basis: String,
}Expand description
Aggregate graph, queue, source, and calibration gates for one run.
Fields§
§source_packet_count: u64Number of packets present in the upstream live-publish receipt.
admitted_transfer_count: u64Number of packets admitted to the transfer queue.
completed_transfer_count: u64Number of packets recorded as completed transfers.
payload_bytes: u64Sum of admitted transfer payload bytes.
counted_copy_bytes: u64Sum of measurable explicit-copy bytes.
max_queue_depth: u64Maximum queue depth observed during the run.
soft_limit_trips: u64Number of soft-watermark observations.
hard_rejects: u64Number of hard-limit rejections.
deterministic_order_verified: boolWhether packet sequences were transferred in deterministic order.
upstream_publish_ready: boolWhether the upstream live-publish state passed its own admission gate.
source_identity_match: boolWhether the current operation’s source checksum matches.
frame_identity_match: boolWhether the upstream source/frame gate passed.
calibration_registered: boolWhether source-bound calibration registration is present.
calibration_applied: boolWhether a clock/frame calibration was actually applied.
time_basis: StringTimestamp domain retained by the upstream packets.
Implementations§
Source§impl EdgePartitionSummary
impl EdgePartitionSummary
Sourcepub fn try_new(
source_packet_count: u64,
admitted_transfer_count: u64,
completed_transfer_count: u64,
payload_bytes: u64,
counted_copy_bytes: u64,
max_queue_depth: u64,
soft_limit_trips: u64,
hard_rejects: u64,
deterministic_order_verified: bool,
upstream_publish_ready: bool,
source_identity_match: bool,
frame_identity_match: bool,
calibration_registered: bool,
calibration_applied: bool,
time_basis: impl Into<String>,
) -> ViewerResult<Self>
pub fn try_new( source_packet_count: u64, admitted_transfer_count: u64, completed_transfer_count: u64, payload_bytes: u64, counted_copy_bytes: u64, max_queue_depth: u64, soft_limit_trips: u64, hard_rejects: u64, deterministic_order_verified: bool, upstream_publish_ready: bool, source_identity_match: bool, frame_identity_match: bool, calibration_registered: bool, calibration_applied: bool, time_basis: impl Into<String>, ) -> ViewerResult<Self>
Creates and validates aggregate edge-partition counters.
Sourcepub fn validate(&self) -> ViewerResult<()>
pub fn validate(&self) -> ViewerResult<()>
Validates monotonic transfer, queue, and calibration counters.
Trait Implementations§
Source§impl Clone for EdgePartitionSummary
impl Clone for EdgePartitionSummary
Source§fn clone(&self) -> EdgePartitionSummary
fn clone(&self) -> EdgePartitionSummary
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 EdgePartitionSummary
impl Debug for EdgePartitionSummary
Source§impl<'de> Deserialize<'de> for EdgePartitionSummary
impl<'de> Deserialize<'de> for EdgePartitionSummary
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 EdgePartitionSummary
impl PartialEq for EdgePartitionSummary
Source§fn eq(&self, other: &EdgePartitionSummary) -> bool
fn eq(&self, other: &EdgePartitionSummary) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for EdgePartitionSummary
impl Serialize for EdgePartitionSummary
impl Eq for EdgePartitionSummary
impl StructuralPartialEq for EdgePartitionSummary
Auto Trait Implementations§
impl Freeze for EdgePartitionSummary
impl RefUnwindSafe for EdgePartitionSummary
impl Send for EdgePartitionSummary
impl Sync for EdgePartitionSummary
impl Unpin for EdgePartitionSummary
impl UnsafeUnpin for EdgePartitionSummary
impl UnwindSafe for EdgePartitionSummary
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