Utilities for scheduling work to happen after a period of time.
This crate provides a number of utilities for working with periods of time:
Delay: A future that completes at a specified instant in time.
IntervalA stream that yields at fixed time intervals.
Deadline: Wraps a future, requiring it to complete before a specified instant in time, erroring if the future takes too long.
A configurable source of time.
Allows a given
Error returned by
A future that completes at a specified instant in time.
Errors encountered by the timer implementation.
A stream representing notifications at fixed interval
Create a Future that completes in
Set the default timer for the duration of the closure.