pub struct DecodeDiagnostics {
pub corrupt_packets: Vec<CorruptPacket>,
pub audio_gaps: Vec<ConcealedAudioGap>,
pub audio_overlaps: Vec<DroppedAudioOverlap>,
pub video_gaps: Vec<VideoRecoveryGap>,
}Expand description
Cumulative diagnostics. Records are bounded; overflow fails decoding.
Fields§
§corrupt_packets: Vec<CorruptPacket>Corruption observations, not necessarily distinct encoded packets.
audio_gaps: Vec<ConcealedAudioGap>Concealed audio intervals with original source positions.
audio_overlaps: Vec<DroppedAudioOverlap>Repeated audio intervals dropped, with original source positions.
video_gaps: Vec<VideoRecoveryGap>Healthy boundaries around dropped video data; not a guessed CFR interval.
Trait Implementations§
Source§impl Clone for DecodeDiagnostics
impl Clone for DecodeDiagnostics
Source§fn clone(&self) -> DecodeDiagnostics
fn clone(&self) -> DecodeDiagnostics
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 moreSource§impl Debug for DecodeDiagnostics
impl Debug for DecodeDiagnostics
Source§impl Default for DecodeDiagnostics
impl Default for DecodeDiagnostics
Source§fn default() -> DecodeDiagnostics
fn default() -> DecodeDiagnostics
Returns the “default value” for a type. Read more
impl Eq for DecodeDiagnostics
Source§impl PartialEq for DecodeDiagnostics
impl PartialEq for DecodeDiagnostics
impl StructuralPartialEq for DecodeDiagnostics
Auto Trait Implementations§
impl Forget for DecodeDiagnostics
impl Freeze for DecodeDiagnosticswhere
*const u8 is !null: Freeze,
PhantomData<CorruptPacket>: Freeze,
PhantomData<ConcealedAudioGap>: Freeze,
PhantomData<DroppedAudioOverlap>: Freeze,
PhantomData<VideoRecoveryGap>: Freeze,
impl Move for DecodeDiagnostics
impl RefUnwindSafe for DecodeDiagnostics
impl Send for DecodeDiagnostics
impl Sync for DecodeDiagnosticswhere
RawVecInner: Sync,
impl Unpin for DecodeDiagnostics
impl UnsafeUnpin for DecodeDiagnosticswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<CorruptPacket>: UnsafeUnpin,
PhantomData<ConcealedAudioGap>: UnsafeUnpin,
PhantomData<DroppedAudioOverlap>: UnsafeUnpin,
PhantomData<VideoRecoveryGap>: UnsafeUnpin,
impl UnwindSafe for DecodeDiagnostics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> ⓘ
Converts
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> ⓘ
Converts
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