pub fn timeval_to_duration(tv: timeval) -> Duration
Expand description

Convert a platform specific timeval into a Duration.