Function tikv_util::time::duration_to_nanos[][src]

pub fn duration_to_nanos(d: Duration) -> u64

Converts Duration to nanoseconds.