Function raftstore::store::util::timespec_to_u64 [−][src]
fn timespec_to_u64(ts: Timespec) -> u64
Convert Timespec to u64. It’s millisecond precision and covers a range of about 571232829 years in total.
Panics
If Timespecs have negative sec.