Module tor_rtcompat::timer
source · Expand description
Definitions for SleepProviderExt
and related types.
Structs§
- A future implementing
SleepProviderExt::sleep_until_wallclock
. - A timeout returned by
SleepProviderExt::timeout
. - An error value given when a function times out.
Constants§
- We never sleep more than this much, in case our system clock jumps.
Traits§
- An extension trait on
SleepProvider
for timeouts and clock delays.
Functions§
- Return the amount of time we should wait next, when running sleep_until_wallclock(). Also return a boolean indicating whether we expect this to be the final delay.