futures_intrusive/timer/
mod.rs

1//! Asynchronous timers.
2//!
3//! This module provides a timer implementation which returns awaitable
4//! `Future`s.
5//! The timer can work with a configurable clock source. In order to utilize
6//! the system clock, a global instance `StdClock` can be utilized.
7
8mod clock;
9pub use self::clock::{Clock, MockClock};
10
11#[cfg(feature = "std")]
12pub use self::clock::StdClock;
13
14mod timer;
15
16pub use self::timer::{
17    GenericTimerService, LocalTimer, LocalTimerFuture, LocalTimerService,
18    Timer, TimerFuture,
19};
20
21#[cfg(feature = "std")]
22pub use self::timer::TimerService;