pub enum DiscontinuityReason {
Signalled,
JumpExceedsTolerance {
observed_delta: i64,
predicted_delta: i64,
},
}Expand description
Why a PcrTracker reported a discontinuity.
Variants§
Signalled
Stream signalled it explicitly — adaptation field carried
discontinuity_indicator = 1 on a PCR-bearing packet.
§2.4.3.5: “In the packet in which the system time-base
discontinuity occurs.”
JumpExceedsTolerance
No explicit signal but the observed PCR jump exceeded
PcrTracker::max_jitter_27mhz (≫ ±500 ns spec tolerance).
Some real-world muxers drop the indicator on a clean
re-mux, and the only evidence is the jump itself.
Trait Implementations§
Source§impl Clone for DiscontinuityReason
impl Clone for DiscontinuityReason
Source§fn clone(&self) -> DiscontinuityReason
fn clone(&self) -> DiscontinuityReason
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 DiscontinuityReason
Source§impl Debug for DiscontinuityReason
impl Debug for DiscontinuityReason
impl Eq for DiscontinuityReason
Source§impl PartialEq for DiscontinuityReason
impl PartialEq for DiscontinuityReason
Source§fn eq(&self, other: &DiscontinuityReason) -> bool
fn eq(&self, other: &DiscontinuityReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiscontinuityReason
Auto Trait Implementations§
impl Freeze for DiscontinuityReason
impl RefUnwindSafe for DiscontinuityReason
impl Send for DiscontinuityReason
impl Sync for DiscontinuityReason
impl Unpin for DiscontinuityReason
impl UnsafeUnpin for DiscontinuityReason
impl UnwindSafe for DiscontinuityReason
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