pub enum RecoveryAction {
ConfirmHealthy {
attempt_id: String,
activated_sha256: String,
at_ms: u64,
},
RequireRollback {
attempt_id: String,
reason: String,
at_ms: u64,
},
RecordRolledBack {
attempt_id: String,
active_sha256: Option<String>,
at_ms: u64,
},
DiscardPrepared {
attempt_id: String,
at_ms: u64,
},
MarkManualReview {
attempt_id: String,
reason: String,
at_ms: u64,
},
}Expand description
Explicit host action applied to a V2 recovery receipt.
Variants§
ConfirmHealthy
Confirms health and commits the currently active artifact.
Fields
RequireRollback
Records that health failed and makes rollback required.
Fields
RecordRolledBack
Records an externally completed rollback.
Fields
DiscardPrepared
Discards a preparation that was never activated.
MarkManualReview
Moves the receipt to manual review without guessing an outcome.
Trait Implementations§
Source§impl Clone for RecoveryAction
impl Clone for RecoveryAction
Source§impl Debug for RecoveryAction
impl Debug for RecoveryAction
impl Eq for RecoveryAction
Source§impl PartialEq for RecoveryAction
impl PartialEq for RecoveryAction
impl StructuralPartialEq for RecoveryAction
Auto Trait Implementations§
impl Freeze for RecoveryAction
impl RefUnwindSafe for RecoveryAction
impl Send for RecoveryAction
impl Sync for RecoveryAction
impl Unpin for RecoveryAction
impl UnsafeUnpin for RecoveryAction
impl UnwindSafe for RecoveryAction
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