Skip to main content

Crate rusty_time_api

Crate rusty_time_api 

Source
Expand description

rusty_time-api — typed reports and ops.

Everything a human sees through rtimec or rtimed --json is one of these types serialized as JSON: the CLI is a thin consumer, and a test or an agent is the same consumer with a different transport (mission plan §5). Internal wire moves to oxicode at M4; the public shape stays JSON.

Structs§

ClientRow
One row of the MRU client log (debug.clients).
NtsReport
What NTS did during a query (status.ntsdata’s client half).
QueryReport
The result of a one-shot rtimed query.
SampleReport
One measured exchange, as reported by rtimed query.
ServerStatsReport
Server counters (status.serverstats) — the chronyc serverstats analog.
TrackingReport
Daemon tracking state (the status.tracking op).

Enums§

ControlEndpoint
Where the control plane actually listens, resolved from what the operator typed.
ControlRequest
A request on the control socket. One variant per op (mission plan §5): the CLI, a test and an agent are all just clients of these.
ControlResponse
The answer to a ControlRequest.

Functions§

control_endpoint
Resolve a --control argument for this platform.
default_control_spec
The default control name.