pub fn duration_to_timespec(duration: Duration) -> timespec
Return a timespec filed with the specified Duration duration.
duration