Module time_wrapper

Module time_wrapper 

Source
Expand description

Wrapper for time Instant and Duration abstractions.

We have a couple of options when choosing a time create in rust - so creating a wrapper module makes sense, as it allows us to change the underlying crate while minimizing changes to users.

We use chrono as the wrapped crate at the moment.

Structs§

Duration
A time duration - the difference between two Instants.
Instant
A specific instant in time.

Type Aliases§

InstantInner 🔒