Expand description
State management for Distro Downloader
Defines state machines for UI navigation and download progress. Pure Rust with no UEFI dependencies - fully unit testable.
§State Machines
§UI State Machine
┌─────────┐ select ┌─────────┐ confirm ┌─────────────┐
│ Browse │─────────▶│ Confirm │──────────▶│ Downloading │
└─────────┘ └─────────┘ └─────────────┘
▲ │ │
│ cancel │ │ complete/fail
└────────────────────┴──────────────────────┘§Download State Machine
┌──────┐ start ┌─────────────┐ done ┌──────────┐
│ Idle │────────▶│ Downloading │────────▶│ Complete │
└──────┘ └─────────────┘ └──────────┘
│
│ error
▼
┌────────┐
│ Failed │
└────────┘Structs§
- Download state tracking
- UI state for navigation
Enums§
- Download status enum
- UI mode