pub fn duration_to_timespec(duration: Duration) -> timespec
Expand description

Return a timespec filed with the specified Duration duration.