#[non_exhaustive]pub struct ScramblingCheck<S> {
pub result: CheckResult,
pub reads: u32,
pub failed_reads: u32,
pub first_error: Option<FailedRead<S>>,
pub set_after: Option<Duration>,
pub read_cap_reached: bool,
}Expand description
What the scrambling check found, and how.
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.result: CheckResultHow it ended.
reads: u32Reads made.
failed_reads: u32Reads that failed.
first_error: Option<FailedRead<S>>The first failed read.
set_after: Option<Duration>When the sink was first seen reporting scrambling, from the check’s start: the
output’s start, or the scrambler coming on (with Running, and in the quick
restore).
read_cap_reached: boolThe check ended on its read count, not its window: the clock did not advance as the reads expected.
Implementations§
Source§impl<S> ScramblingCheck<S>where
S: DdcError,
impl<S> ScramblingCheck<S>where
S: DdcError,
Sourcepub fn kinds(&self) -> ScramblingCheck<DdcErrorKind>
pub fn kinds(&self) -> ScramblingCheck<DdcErrorKind>
The same record with the first error’s kind in place of the error, as an event carries it.
Trait Implementations§
Source§impl<S> Clone for ScramblingCheck<S>where
S: Clone,
impl<S> Clone for ScramblingCheck<S>where
S: Clone,
Source§fn clone(&self) -> ScramblingCheck<S>
fn clone(&self) -> ScramblingCheck<S>
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<S> Copy for ScramblingCheck<S>where
S: Copy,
Source§impl<S> Debug for ScramblingCheck<S>where
S: Debug,
impl<S> Debug for ScramblingCheck<S>where
S: Debug,
impl<S> Eq for ScramblingCheck<S>where
S: Eq,
Source§impl<S> PartialEq for ScramblingCheck<S>where
S: PartialEq,
impl<S> PartialEq for ScramblingCheck<S>where
S: PartialEq,
impl<S> StructuralPartialEq for ScramblingCheck<S>where
S: PartialEq,
Auto Trait Implementations§
impl<S> Forget for ScramblingCheck<S>
impl<S> Freeze for ScramblingCheck<S>
impl<S> Move for ScramblingCheck<S>
impl<S> RefUnwindSafe for ScramblingCheck<S>
impl<S> Send for ScramblingCheck<S>
impl<S> Sync for ScramblingCheck<S>
impl<S> Unpin for ScramblingCheck<S>
impl<S> UnsafeUnpin for ScramblingCheck<S>
impl<S> UnwindSafe for ScramblingCheck<S>
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