#[non_exhaustive]pub enum Hint {
InputDegraded,
InputRecovered,
SyncLoss,
PcrDiscontinuity,
SourceEnded,
SourceError,
Reconnected,
}Expand description
Out-of-band input the caller reports. Non-authoritative except where stated: starvation is only ever declared from lead and the clock.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InputDegraded
Continuity errors / TEI seen: recorded in Stats::input_degraded only.
InputRecovered
The degradation ended.
SyncLoss
Sync loss: re-baseline.
PcrDiscontinuity
The caller saw a PCR discontinuity: re-baseline.
SourceEnded
The connection ended: later pauses report NoData.
SourceError
The connection failed: later pauses report NoData.
Reconnected
First chunk of a new connection follows (send BEFORE feeding it): re-baseline, keep the stall memory, resume at the target.
Implementations§
Trait Implementations§
impl Copy for Hint
impl Eq for Hint
impl StructuralPartialEq for Hint
Auto Trait Implementations§
impl Forget for Hint
impl Freeze for Hint
impl RefUnwindSafe for Hint
impl Send for Hint
impl Sync for Hint
impl Unpin for Hint
impl UnsafeUnpin for Hint
impl UnwindSafe for Hint
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