Crate cu29_clock
source ·Structs§
- For Robot times, the underlying type is a u64 representing nanoseconds. It is always positive to simplify the reasoning on the user side.
- A point-in-time wall-clock measurement.
- Homebrewed
Option<CuDuration>to avoid using 128bits just to represent an Option. - A running Robot clock. The clock is a monotonic clock that starts at an arbitrary reference time. It is clone resilient, ie a clone will be the same clock, even when mocked.
- A mock clock that can be controlled by the user.
Traits§
- A trait to provide a clock to the runtime.
Type Aliases§
- A robot time is just a duration from a fixed point in time.