pub enum ActivationOutcome {
FiredAndPolled,
RealiseFailed {
reason: String,
},
SignatureMismatch {
closure_hash: String,
stderr_tail: String,
},
SwitchFailed {
phase: String,
exit_code: Option<i32>,
},
VerifyMismatch {
expected: String,
actual: String,
},
DeferredPendingReboot {
component: String,
},
}Variants§
FiredAndPolled
RealiseFailed
SignatureMismatch
Distinct from RealiseFailed so dashboards can route trust violations.
SwitchFailed
VerifyMismatch
/run/current-system flipped to a basename that is neither expected
nor pre-switch - caller rolls back.
DeferredPendingReboot
Profile flipped via nix-env --set but live switch was skipped because
activating component component (dbus, systemd, kernel, init) on a
running system is unsafe - nixos-rebuild refuses the same. New gen
activates on next boot.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActivationOutcome
impl RefUnwindSafe for ActivationOutcome
impl Send for ActivationOutcome
impl Sync for ActivationOutcome
impl Unpin for ActivationOutcome
impl UnwindSafe for ActivationOutcome
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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