[−][src]Module actori::clock
A configurable source of time.
This module provides an API to get the current instant in such a way that the source of time may be configured. This allows mocking out the source of time in tests.
See Module tokio_timer::clock
for full documentation.
Structs
Delay | Future returned by |
Duration | A |
Instant | A measurement of the system clock, useful for talking to external entities like the file system or other processes. |
Interval | Stream returned by |
Functions
delay_for | Wait until |
delay_until | Wait until |
interval_at | Creates new |