1 2 3 4 5 6 7 8 9 10 11 12 13
//! 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. //! //! [Module `tokio_timer::clock`]: https://docs.rs/tokio-timer/latest/tokio_timer/clock/index.html pub use tokio::time::{ delay_for, delay_until, interval_at, Delay, Duration, Instant, Interval, };