devela/phys/time/
reexports.rs
1use crate::reexport;
7
8reexport! { rust: core::time,
11 doc: "A span of time, with `u64` seconds and `u32` nanoseconds.",
12 Duration
13}
14reexport! { rust: core::time,
15 tag: crate::TAG_ERROR!(),
16 doc: "Error returned from converting floating-point seconds into a [`Duration`].",
17 @TryFromFloatSecsError as DurationErrorTryFromFloatSecs
18}
19
20reexport! { rust: std::time,
23 doc: "A measurement of a monotonically nondecreasing clock.",
24 @Instant as SystemInstant
25}
26reexport! { rust: std::time,
27 doc: "A measurement of the system clock.",
28 SystemTime
29}
30reexport! { rust: std::time,
36 doc: "A [`SystemTime`] anchored to “1970-01-01 00:00:00 UTC”.",
37 UNIX_EPOCH
38}