Skip to main content

Mountain/IPC/Common/
MessageType.rs

1#![allow(non_snake_case)]
2
3//! # IPC Message Types
4//!
5//! Core message structures used by every IPC channel between Wind and
6//! Mountain.
7//!
8//! Layout (one export per file, file name = identity):
9//! - `IPCMessage::Struct` - generic envelope with id, command, payload,
10//!   timestamp, correlation id, priority.
11//! - `IPCCommand::Struct` - command request with args and named params.
12//! - `IPCResponse::Struct` - success/error response keyed by correlation id.
13//! - `MessagePriority::Enum` - Low / Normal / High / Critical.
14//!
15//! TODO: zero callers as of 2026-05-02. Used to be the planned shape
16//! for the Tauri-IPC envelope; superseded by the gRPC channel and
17//! direct Tauri events. Kept atomic so a future router can adopt it
18//! without re-deriving fields.
19
20pub mod IPCCommand;
21pub mod IPCMessage;
22pub mod IPCResponse;
23pub mod MessagePriority;