hyprstream_workers/runtime/status.rs
1//! Runtime-local status helpers.
2//!
3//! The reusable CRI client and all wire types live in
4//! `hyprstream_rpc_std::worker_client`; this module only retains the local
5//! composite status wrapper used by the service implementation.
6
7use std::collections::HashMap; // Only for StatusResponse.info (local-only, not serialized)
8
9/// Runtime status response (local composite, not in schema).
10///
11/// Bundles the generated RuntimeStatus with verbose diagnostic info.
12/// The `info` HashMap is NOT serialized over the wire — it's only used locally.
13#[derive(Debug, Clone)]
14pub struct StatusResponse {
15 /// Overall runtime status (generated wire type)
16 pub status: hyprstream_rpc_std::worker_client::RuntimeStatus,
17 /// Additional info (if verbose) — local only, not serialized
18 pub info: HashMap<String, String>,
19}