pub struct TransformArmStats {
pub executed: u64,
pub diverged: u64,
pub consecutive_solves: u64,
}Expand description
What the transform arm did on this thread, since the process started.
Repairs are driven from the thread that calls
crate::repair::execute_repair_with_options, so these counters are that
thread’s own and never race. Exposed so a caller (or a test) can tell a
transform-arm repair from a dense one without parsing logs.
Fields§
§executed: u64Repairs completed on the transform arm.
diverged: u64Repairs the arm abandoned after its probe diverged.
consecutive_solves: u64Repairs the arm chose the closed-form consecutive solve for, rather than the explicit inverse. Counted when the solver is picked, so it covers diverged runs too.
Trait Implementations§
Source§impl Clone for TransformArmStats
impl Clone for TransformArmStats
Source§fn clone(&self) -> TransformArmStats
fn clone(&self) -> TransformArmStats
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 TransformArmStats
Source§impl Debug for TransformArmStats
impl Debug for TransformArmStats
Source§impl Default for TransformArmStats
impl Default for TransformArmStats
Source§fn default() -> TransformArmStats
fn default() -> TransformArmStats
Returns the “default value” for a type. Read more
impl Eq for TransformArmStats
Source§impl PartialEq for TransformArmStats
impl PartialEq for TransformArmStats
impl StructuralPartialEq for TransformArmStats
Auto Trait Implementations§
impl Freeze for TransformArmStats
impl RefUnwindSafe for TransformArmStats
impl Send for TransformArmStats
impl Sync for TransformArmStats
impl Unpin for TransformArmStats
impl UnsafeUnpin for TransformArmStats
impl UnwindSafe for TransformArmStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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