Crate tokio_timer [−] [src]
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.
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
Set the default timer for the duration of the closure.