Crate uchrono

Source
Expand description

A no_std compatible time point and duration library.

§Duration

The Duration type is inspired by smoltcp::time::Duration and embassy_time::Duration but allows for negative duration values as well.

§Time points

The TimePoint type is keyed on which Clock it originates from. This catches errors such as accidentally comparing time points from different clocks.

§Features

  • std - enabled by default.

Modules§

clock
Traits and clock implementation of various clocks

Structs§

Duration
Represent a duration of time in microseconds
TimePoint
Represents a point in time of the associated Clock.