tandem_server/app/
startup.rs1#[derive(Debug, Clone)]
2pub enum StartupStatus {
3 Starting,
4 Ready,
5 Failed,
6}
7
8#[derive(Debug, Clone)]
9pub struct StartupState {
10 pub status: StartupStatus,
11 pub phase: String,
12 pub started_at_ms: u64,
13 pub attempt_id: String,
14 pub last_error: Option<String>,
15}
16
17#[derive(Debug, Clone)]
18pub struct StartupSnapshot {
19 pub status: StartupStatus,
20 pub phase: String,
21 pub started_at_ms: u64,
22 pub attempt_id: String,
23 pub last_error: Option<String>,
24 pub elapsed_ms: u64,
25}