tokio_timer/timer/
now.rs

1use std::time::Instant;
2
3#[doc(hidden)]
4#[deprecated(since = "0.2.4", note = "use clock::Now instead")]
5pub trait Now {
6    /// Returns an instant corresponding to "now".
7    fn now(&mut self) -> Instant;
8}
9
10pub use clock::Clock as SystemNow;