Skip to main content

Crate rtime_refclock

Crate rtime_refclock 

Source
Expand description

Reference clock drivers for the rTime NTP/PTP time synchronization daemon.

Reference clocks — a local GPS receiver or a PPS pulse-per-second source — provide a stratum-0 time reference so a host can serve time without an upstream network peer. Drivers are gated behind cargo features so the dependency and syscall surface is only compiled when needed.

§Features

  • gps — enables the gps NMEA/serial GPS driver.
  • pps — enables the pps pulse-per-second (RFC 2783) driver.

The crate error type is RefClockError.

Enums§

RefClockError