Function raftstore::store::util::u64_to_timespec [−][src]
pub(crate) fn u64_to_timespec(u: u64) -> Timespec
Convert Timespec to u64.
Panics
If nsec is negative or GE than 1_000_000_000(nano seconds pre second).