#[non_exhaustive]pub struct BbframePumpStats {
pub header_parse_failures: u64,
pub non_ts_payloads: u64,
pub carry_over: CarryOverStats,
}Expand description
Per-feed diagnostic counters for a BbframePump.
The pump stays resilient (it never errors or panics on malformed input — bad frames are skipped so a stream keeps flowing). These counters make the otherwise-silent skips observable.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.header_parse_failures: u64Frames whose BBHEADER could not be parsed or was too short.
non_ts_payloads: u64Frames with a non-TS MATYPE (GSE, GFPS, GCS) — the pump only extracts TS user packets.
carry_over: CarryOverStatsAggregated carry-over stats from all PLPs.
Trait Implementations§
Source§impl Clone for BbframePumpStats
impl Clone for BbframePumpStats
Source§fn clone(&self) -> BbframePumpStats
fn clone(&self) -> BbframePumpStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BbframePumpStats
Source§impl Debug for BbframePumpStats
impl Debug for BbframePumpStats
Source§impl Default for BbframePumpStats
impl Default for BbframePumpStats
Source§fn default() -> BbframePumpStats
fn default() -> BbframePumpStats
Returns the “default value” for a type. Read more
impl Eq for BbframePumpStats
Source§impl PartialEq for BbframePumpStats
impl PartialEq for BbframePumpStats
impl StructuralPartialEq for BbframePumpStats
Auto Trait Implementations§
impl Freeze for BbframePumpStats
impl RefUnwindSafe for BbframePumpStats
impl Send for BbframePumpStats
impl Sync for BbframePumpStats
impl Unpin for BbframePumpStats
impl UnsafeUnpin for BbframePumpStats
impl UnwindSafe for BbframePumpStats
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
Mutably borrows from an owned value. Read more