pub fn set_socket_linger<Fd: AsFd>( fd: Fd, value: Option<Duration>, ) -> Result<()>
setsockopt(fd, SOL_SOCKET, SO_LINGER, value)
See the module-level documentation for more.