Expand description
Async timer lib
§Timers
§Primitives
- Timed - A wrapper over future that allows to limit time for the future to resolve.
- Interval - Periodic timer, that on each completition returns itself to poll once again with the same interval.
§Features
tokio_on
- Enables implementations that require platform’s event loop
Re-exports§
pub use oneshot::Oneshot;
Modules§
- One-shot Timer
Structs§
- Error when Timed expires
- Periodic Timer
Enums§
- Limiter on time to wait for underlying
Future
Functions§
- Creates interval with default Platform timer.
- Run future in timed fashion using default Platform timer.