Function tor_hsservice::timeout_track::instant_cmp
source · fn instant_cmp(
earliest: &Cell<Option<Duration>>,
threshold: Instant,
t: Instant
) -> Ordering
Expand description
Check t
against a now-based threshold
(and remember for wakeup)
Common code for TrackingInstantNow
and TrackingInstantOffsetNow
’s
cmp
.