Function rustix::backend::net::sockopt::duration_to_linux_sock_timeval

source ยท
fn duration_to_linux_sock_timeval(
    timeout: Option<Duration>,
) -> Result<__kernel_sock_timeval>
Expand description

Convert a Rust Option<Duration> to a __kernel_sock_timeval.