Function rustix::backend::net::sockopt::set_socket_timeout

source ยท
pub(crate) fn set_socket_timeout(
    fd: BorrowedFd<'_>,
    id: Timeout,
    timeout: Option<Duration>,
) -> Result<()>