pub struct SealedAttemptProjection {Show 14 fields
pub schema: &'static str,
pub attempt_id: AttemptId,
pub disposition: AttemptDisposition,
pub outcome: RuntimeTerminalOutcome,
pub cleanup_disposition: AttemptCleanupDisposition,
pub cleanup_failure_count: u64,
pub cleanup_failure_count_complete: bool,
pub capacity_disposition: AttemptCapacityDisposition,
pub health_transition: Option<AttemptHealthTransition>,
pub retry_advice: AttemptRetryAdvice,
pub observation_truncated: bool,
pub observation_degraded: bool,
pub native_fault_evidence_present: bool,
pub resource_evidence_present: bool,
}Expand description
Bounded projection of facts from one already-sealed attempt report.
Unlike QueryAttemptReport, this type is intentionally suitable for
fixed-cardinality metrics and small transport metadata. It contains no
caller correlations, diagnostic text, failure facts, allocator event data,
or query payload. The attempt id is retained solely for delivery surfaces
that already identify a single attempt; metric consumers must not use it as
a label.
Fields§
§schema: &'static strSchema label for this bounded projection.
attempt_id: AttemptIdAttempt identity for individual delivery; excluded from metric labels.
disposition: AttemptDispositionPlanning coverage copied from the report.
outcome: RuntimeTerminalOutcomeTerminal execution outcome copied from the report.
cleanup_disposition: AttemptCleanupDispositionCleanup result copied from the report.
cleanup_failure_count: u64Recorded cleanup failure count; consult its completeness flag.
cleanup_failure_count_complete: boolWhether the cleanup failure count is exact.
capacity_disposition: AttemptCapacityDispositionGrant ownership after cleanup.
health_transition: Option<AttemptHealthTransition>Committed admitted-device health result, or None when unavailable.
retry_advice: AttemptRetryAdviceRecovery recommendation derived at report seal.
observation_truncated: boolWhether configured retention bounds truncated observation capture.
observation_degraded: boolWhether recording encountered degradation beyond retention limits.
native_fault_evidence_present: boolWhether the full report contains native-fault evidence.
resource_evidence_present: boolWhether the full report contains terminal resource evidence.
Implementations§
Source§impl SealedAttemptProjection
impl SealedAttemptProjection
Sourcepub const fn labels(&self) -> SealedAttemptLabels
pub const fn labels(&self) -> SealedAttemptLabels
Returns the sole stable label mapping for bounded post-seal consumers.
Trait Implementations§
Source§impl Clone for SealedAttemptProjection
impl Clone for SealedAttemptProjection
Source§impl Debug for SealedAttemptProjection
impl Debug for SealedAttemptProjection
impl Eq for SealedAttemptProjection
Source§impl From<&QueryAttemptReport> for SealedAttemptProjection
impl From<&QueryAttemptReport> for SealedAttemptProjection
Source§fn from(report: &QueryAttemptReport) -> Self
fn from(report: &QueryAttemptReport) -> Self
Source§impl PartialEq for SealedAttemptProjection
impl PartialEq for SealedAttemptProjection
Source§impl Serialize for SealedAttemptProjection
impl Serialize for SealedAttemptProjection
impl StructuralPartialEq for SealedAttemptProjection
Auto Trait Implementations§
impl Freeze for SealedAttemptProjection
impl RefUnwindSafe for SealedAttemptProjection
impl Send for SealedAttemptProjection
impl Sync for SealedAttemptProjection
impl Unpin for SealedAttemptProjection
impl UnsafeUnpin for SealedAttemptProjection
impl UnwindSafe for SealedAttemptProjection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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> ⓘ
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> ⓘ
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