pub fn get_current_except_priority(
ignore_priority: i32,
) -> Option<(SystemTime, i32)>Expand description
Get the current time, querying only providers other than the one
at ignore_priority.
C parity: epicsGeneralTime.c:106-151 generalTimeGetExceptPriority.
Used by a time provider (typically an NTP/clock provider) that needs
to read “the best time other than mine” to validate its own sync
without recursing into itself.
Returns (time, priority_used) — the priority of the provider that
answered — or None when no other provider succeeded. No ratchet
is applied: this query may legitimately go backwards, exactly as
the C function documents (“No ratchet, time from this routine may go
backwards”).
ignore_priority follows the C convention: a positive value skips
the provider at that priority; a negative value -n skips every
provider except the one at priority n.