rustix::backend::net::sockopt

Function set_socket_linger

Source
pub(crate) fn set_socket_linger(
    fd: BorrowedFd<'_>,
    linger: Option<Duration>,
) -> Result<()>