diff --git a/performance/src/zssp.rs b/performance/src/zssp.rs index 20dce0e..1497a39 100644 --- a/performance/src/zssp.rs +++ b/performance/src/zssp.rs @@ -711,6 +711,9 @@ impl Context { } /// Returns the exact timestamp at which either `Context::service` or /// `Context::service_scheduled` should be called again. + /// + /// This can return `i64::MAX` if there is *currently* nothing to service, + /// or `i64::MIN` if `Context::send` returns `Ok(true)` and ZSSP needs to be serviced right away. pub fn next_service_time(&self) -> i64 { self.0.next_service_time.load(Ordering::Relaxed) }