pub fn duration_to_timespec(dur: Duration) -> timespec
Convert a Duration into a platform specific timespec.
timespec