pub struct Stats {
pub ts_packets: u64,
pub t2mi_packets: u64,
pub crc_failures: u64,
pub malformed_packets: u64,
}Expand description
Accumulated pump statistics (monotonically growing across all feed calls).
Fields§
§ts_packets: u64TS packets fed via T2miPump::feed_ts.
t2mi_packets: u64Complete T2-MI packets produced by the reassembler (pre-CRC check).
crc_failures: u64Packets dropped due to CRC-32 mismatch (ETSI TS 102 773 Annex A).
malformed_packets: u64Malformed inputs: bad TS sync byte, truncated TS packet, overflowed
adaptation field, or feed_ts called on a raw-mode pump.
Trait Implementations§
impl Copy for Stats
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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