#[non_exhaustive]pub struct StepReport {
pub phase: StepPhase,
pub progress: StepProgress,
pub step_computed_vertices: usize,
pub step_elapsed: Duration,
pub changed: StepDelta,
pub longest_unit: Option<SlowUnitReport>,
pub result: Option<EvalResult>,
}Expand description
Per-step locations and telemetry. Reads between steps observe installed new values alongside old values for still-pending cells. Only Finished carries a result; Cancelled is terminal for explicit jobs.
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.phase: StepPhasePhase reached at return.
progress: StepProgressFormula progress, with a pass-specific denominator.
step_computed_vertices: usizeFormulas computed during this step.
step_elapsed: DurationActive elapsed time in this step.
changed: StepDeltaRegions changed by installed work in this step.
longest_unit: Option<SlowUnitReport>Longest atomic unit, if any ran.
result: Option<EvalResult>Present only when phase is Finished.
Trait Implementations§
Auto Trait Implementations§
impl Forget for StepReport
impl Freeze for StepReport
impl RefUnwindSafe for StepReport
impl Send for StepReport
impl Sync for StepReport
impl Unpin for StepReport
impl UnsafeUnpin for StepReport
impl UnwindSafe for StepReport
Blanket Implementations§
impl<T> Allocation for T
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
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