pub type TimestampFn = fn() -> Duration;
Represents a simple timestamping function. This is useful if used in WASM or environment which might have different means of measuring time.