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