statime/time/
mod.rs

1//! Types that describe points in time ([`Time`]), and durations between two
2//! instants ([`Duration`], [`Interval`])
3//!
4//! These are used throughout `statime` instead of types from [`std::time`] as
5//! they fit closer with the on the wire representation of time in PTP.
6
7mod duration;
8mod instant;
9mod interval;
10
11pub use duration::Duration;
12pub use instant::Time;
13pub use interval::Interval;