Expand description
ClockBound Daemon
This crate implements the ClockBound daemon
Modules§
- signal
- Unix signal handler registration.
Structs§
- Parse
Error - Custom struct used for indicating a parsing error when parsing a ClockErrorBoundSource or ClockDisruptionNotificationSource from str.
- PhcInfo
- PhcInfo holds the refid of the PHC in chronyd (i.e. PHC0), and the interface on which the PHC is enabled.
Enums§
- Chrony
Clock Status - The status of the system clock reported by chronyd
- Clock
Disruption State - Enum of possible Clock Disruption States exposed by the daemon.
- Clock
Error Bound Source - Enum of possible input sources for obtaining the ClockErrorBound.
Constants§
Statics§
- FORCE_
DISRUPTION_ PENDING - Boolean value that tracks whether a manually triggered disruption is pending and need to be actioned.
- FORCE_
DISRUPTION_ STATE - Boolean value that can be toggled to signal periods of forced disruption vs. “normal” periods.
Functions§
- get_
error_ bound_ sysfs_ path - Gets the PHC Error Bound sysfs file path given a network interface name.
- refid_
to_ u32 - Helper for converting a string ref_id into a u32 for the chrony command protocol.
- run