socket2::sys

Function set_nonblocking

Source
pub(crate) fn set_nonblocking(fd: c_int, nonblocking: bool) -> Result<()>