socket2::sys

Function into_timeval

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