pub enum GuestLifecyclePhase {
Boot,
Attach,
Dispatch,
Body,
Teardown,
}Expand description
Final guest lifecycle stage as tracked by the progress ledger —
the public mirror of monitor::LifecycleStage (same forward-only
ordinal order, so Ord compares boot progress). Snapshotted at
run teardown onto VmResult::final_guest_phase.
Fixtures use this to distinguish “the guest reached the phase under
test and the watchdog misfired” (a real detection regression) from
“the guest never got there” (an environmental non-verdict: an
observed arm64 cell at 0.3% host CPU share sat in Boot for 172 s —
nothing phase-dependent can be asserted about a guest that could
not boot).
Variants§
Boot
Booting: init up to SYS_RDY.
Attach
SYS_RDY seen; scheduler attaching.
Dispatch
Guest dispatch entering the workload preamble.
Body
The test body / workload proper.
Teardown
Winding down (ScenarioEnd / Exit / TestResult seen).
Trait Implementations§
Source§impl Clone for GuestLifecyclePhase
impl Clone for GuestLifecyclePhase
Source§fn clone(&self) -> GuestLifecyclePhase
fn clone(&self) -> GuestLifecyclePhase
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GuestLifecyclePhase
impl Debug for GuestLifecyclePhase
Source§impl Ord for GuestLifecyclePhase
impl Ord for GuestLifecyclePhase
Source§fn cmp(&self, other: &GuestLifecyclePhase) -> Ordering
fn cmp(&self, other: &GuestLifecyclePhase) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for GuestLifecyclePhase
impl PartialEq for GuestLifecyclePhase
Source§impl PartialOrd for GuestLifecyclePhase
impl PartialOrd for GuestLifecyclePhase
impl Copy for GuestLifecyclePhase
impl Eq for GuestLifecyclePhase
impl StructuralPartialEq for GuestLifecyclePhase
Auto Trait Implementations§
impl Freeze for GuestLifecyclePhase
impl RefUnwindSafe for GuestLifecyclePhase
impl Send for GuestLifecyclePhase
impl Sync for GuestLifecyclePhase
impl Unpin for GuestLifecyclePhase
impl UnwindSafe for GuestLifecyclePhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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