Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/Common/
ServiceInfo.rs

1//! # Service Discovery and Information
2//!
3//! Tracks every service Mountain talks to: its lifecycle state,
4//! performance counters, dependency graph, and (optionally) a network
5//! endpoint. Used by the in-process service registry to make health-
6//! based routing decisions.
7//!
8//! Layout (one export per file, file name = identity):
9//! - `ServiceState::Enum` - Running / Degraded / Stopped / Error / Starting /
10//!   ShuttingDown.
11//! - `ServicePerformance::Struct` - request/error counters + rolling mean
12//!   response latency.
13//! - `ServiceEndpoint::Struct` - protocol/host/port (+ UDS path).
14//! - `ServiceInfo::Struct` - the per-service descriptor.
15//! - `ServiceRegistry::Struct` - discovery-cadence-aware map keyed by service
16//!   name.
17//!
18//! ## Status
19//!
20//! Zero callers as of 2026-05-02. Pending wire-up from the
21//! gRPC and Tauri IPC dispatch hot paths.
22
23pub mod ServiceEndpoint;
24
25pub mod ServiceInfo;
26
27pub mod ServicePerformance;
28
29pub mod ServiceRegistry;
30
31pub mod ServiceState;