Function get_timestamp_ns_safe

Source
pub fn get_timestamp_ns_safe() -> Option<u64>
Expand description

Get current timestamp in nanoseconds (safe version)

Returns None if system clock is broken, instead of panicking. Use this when you can gracefully handle clock failures.