pub fn duration_to_timeval(dur: Duration) -> timeval
Convert a Duration into a platform specific timeval.
timeval