Expand description
Result storage trait for test results.
Enables dependency injection for different storage backends.
Structs§
- File
Storage - File-based storage implementation using history module.
- Mock
Storage - In-memory storage for testing - does not persist to disk.
Traits§
- History
Storage - Combined trait for storage that supports both saving and loading. Provides cleaner dependency injection than separate traits.
- Load
History - Trait for reading historic results (optional). Not all storage backends need to implement this – e.g. a transient in‑memory store can choose to omit history support.
- Result
Sink - Minimal trait for persisting a speed‑test report.
- Save
Result - Trait for persisting a single test result. Implementations may be file‑based, cloud‑based, etc.