socket2::sys

Function from_timeval

Source
const fn from_timeval(duration: timeval) -> Option<Duration>