pub struct LifecycleUpdateReceipt {
pub before: LifecycleSnapshot,
pub final_snapshot: Option<LifecycleSnapshot>,
pub transaction: TransactionReceipt,
pub pre_commit_quiesced: bool,
pub restoration: LifecycleRestorationStatus,
pub post_commit_failure: Option<LifecycleFailure>,
pub rollback_quiesce_failure: Option<LifecycleFailure>,
pub rollback_restore_failure: Option<LifecycleFailure>,
pub observation_failure: Option<LifecycleFailure>,
pub engine_policy: CommitEnginePolicy,
}Expand description
Composite result that retains the exact Core transaction evidence.
Fields§
§before: LifecycleSnapshotImmutable pre-update observation.
final_snapshot: Option<LifecycleSnapshot>Final read-only observation when available.
transaction: TransactionReceiptExact Core artifact transaction receipt.
pre_commit_quiesced: boolWhether a previously running service was quiesced before Core mutation.
restoration: LifecycleRestorationStatusLifecycle restoration state at the terminal artifact disposition.
post_commit_failure: Option<LifecycleFailure>Post-commit lifecycle or caller-check failure, when one occurred.
rollback_quiesce_failure: Option<LifecycleFailure>Failure stopping a possibly running new generation before Core rollback.
rollback_restore_failure: Option<LifecycleFailure>Failure restoring the old service state after successful artifact rollback.
observation_failure: Option<LifecycleFailure>Failure to obtain the optional final read-only observation.
engine_policy: CommitEnginePolicyThe commit-engine policy that governed this transaction.
This makes the selected CommitEnginePolicy inputs observable in the
returned evidence, including the permissive ownership-loss tolerance,
which otherwise has no failure to attach itself to.
Implementations§
Source§impl LifecycleUpdateReceipt
impl LifecycleUpdateReceipt
Sourcepub fn artifact_disposition(&self) -> TransactionDisposition
pub fn artifact_disposition(&self) -> TransactionDisposition
Core’s authoritative artifact disposition.
Sourcepub fn manual_artifact_recovery_required(&self) -> bool
pub fn manual_artifact_recovery_required(&self) -> bool
Whether Core retained recovery evidence requiring manual artifact recovery.
Sourcepub fn new_generation_retained(&self) -> bool
pub fn new_generation_retained(&self) -> bool
Whether the new artifact generation remains installed.
Sourcepub fn service_state_restored(&self) -> bool
pub fn service_state_restored(&self) -> bool
Whether service lifecycle was restored and confirmed for the terminal generation.