hoprd_inbox::inbox

Type Alias TimestampFn

Source
pub type TimestampFn = fn() -> Duration;
Expand description

Represents a simple timestamping function. This is useful if used in WASM or environment which might have different means of measuring time.