pub struct SolverTelemetryDetail<Sc: Score> {
pub status: SolverStatus<Sc>,
pub candidate_trace: Option<CandidateTraceTelemetry>,
}Expand description
One atomically retained diagnostic view of a job.
Ordinary lifecycle events, status, and snapshots intentionally keep
SolverTelemetry::candidate_trace empty. When a caller explicitly asks
for diagnostics, this pairs compact aggregate telemetry with the bounded
candidate-pull prefix under one retained-job lock. That prevents combining
counters from one publication with a trace from another. Its status scores
and latest_snapshot_revision are from that same publication, so a caller
can fetch and validate exactly the snapshot paired with a terminal trace.
Fields§
§status: SolverStatus<Sc>§candidate_trace: Option<CandidateTraceTelemetry>Trait Implementations§
Source§impl<Sc: Clone + Score> Clone for SolverTelemetryDetail<Sc>
impl<Sc: Clone + Score> Clone for SolverTelemetryDetail<Sc>
Source§fn clone(&self) -> SolverTelemetryDetail<Sc>
fn clone(&self) -> SolverTelemetryDetail<Sc>
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<Sc: PartialEq + Score> StructuralPartialEq for SolverTelemetryDetail<Sc>
Auto Trait Implementations§
impl<Sc> Freeze for SolverTelemetryDetail<Sc>where
Sc: Freeze,
impl<Sc> RefUnwindSafe for SolverTelemetryDetail<Sc>where
Sc: RefUnwindSafe,
impl<Sc> Send for SolverTelemetryDetail<Sc>
impl<Sc> Sync for SolverTelemetryDetail<Sc>
impl<Sc> Unpin for SolverTelemetryDetail<Sc>where
Sc: Unpin,
impl<Sc> UnsafeUnpin for SolverTelemetryDetail<Sc>where
Sc: UnsafeUnpin,
impl<Sc> UnwindSafe for SolverTelemetryDetail<Sc>where
Sc: UnwindSafe,
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