Expand description
Wire types for the daemon’s Unix-domain control socket.
The control plane speaks newline-delimited JSON (NDJSON): one
DaemonEnvelope request per line, one DaemonReply response per line.
New optional fields use #[serde(default, skip_serializing_if = ...)] so
older peers stay byte-compatible on the wire.
Structs§
- Daemon
Envelope - A request sent to the daemon over the control socket.
- Daemon
Reply - A response returned by the daemon over the control socket.
- Status
Report - The payload of a built-in
statusreply: per-service status snapshots.
Constants§
- DAEMON_
SERVICE - The reserved service name for the daemon’s own built-in operations
(
ping,status,shutdown). ANoneservicetargets the same. - MAX_
LINE_ BYTES - Maximum length, in bytes, of a single NDJSON line on the control socket.