devela/phys/time/
reexports.rs

1// devela::phys::time
2//
3//! Reexported items from `core`.
4//
5
6use crate::reexport;
7
8/* core */
9
10reexport! { 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
20/* std */
21
22reexport! { 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}
30// reexport! { rust: std::time,
31//     tag: crate::TAG_ERROR!(),
32//     doc: "Error returned from the `duration_since` and `elapsed` methods on [`SystemTime`].",
33//     SystemTimeError
34// }
35reexport! { rust: std::time,
36    doc: "A [`SystemTime`] anchored to “1970-01-01 00:00:00 UTC”.",
37    UNIX_EPOCH
38}