[−][src]Crate wasm_timer
Modules
clock | A configurable source of time. |
delay_queue | A queue of delayed elements. |
throttle | Slow down a stream by enforcing a delay between items. |
timeout | Allows a future or stream to execute for a maximum amount of time. |
timer | Timer implementation. |
Structs
Delay | A future that completes at a specified instant in time. |
Error | Errors encountered by the timer implementation. |
Instant | A measurement of a monotonically nondecreasing clock.
Opaque and useful only with |
Interval | A stream representing notifications at fixed interval |
SystemTime | A measurement of the system clock, useful for talking to external entities like the file system or other processes. |
Constants
UNIX_EPOCH | An anchor in time which can be used to create new |
Functions
sleep | Create a Future that completes in |