rustix::backend::net::sockopt

Function duration_to_linux_old_timeval

Source
fn duration_to_linux_old_timeval(
    timeout: Option<Duration>,
) -> Result<__kernel_old_timeval>
Expand description

Like duration_to_linux but uses Linux’s old 32-bit __kernel_old_timeval.