pub enum AppPhase {
Setup,
Initializing,
Building {
started_at: Instant,
kind: BuildKind,
},
Idle,
Patching {
started_at: Instant,
},
Failed {
phase: String,
reason: String,
},
}Expand description
Which phase of the dev loop the user is currently watching. Drives the live-region header label + spinner color.
Variants§
Setup
Pre-dev-server cli work: sync_for_target (gen tree + plugin
build). Driven by explicit TuiHandle::set_phase calls.
Initializing
dev-server’s setup (WS bind, watcher, capture shim resolve).
Brief; usually flips to Building within ~100ms once
Event::BuildingFull arrives.
Building
cargo + gradle / xcodebuild in flight.
Idle
dev-server bound, initial build succeeded, watching for source changes.
Patching
Tier 1 hot-patch in flight. Phase exit is signalled by
Event::PatchSent or a Tier 2 fallback’s Event::BuildingFull.
Failed
Build failed. The live region surfaces the cause and the cli is about to exit non-zero.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppPhase
impl RefUnwindSafe for AppPhase
impl Send for AppPhase
impl Sync for AppPhase
impl Unpin for AppPhase
impl UnsafeUnpin for AppPhase
impl UnwindSafe for AppPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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>
Converts
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>
Converts
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