pub fn get_socket_timeout<Fd: AsFd>( fd: Fd, id: Timeout) -> Result<Option<Duration>>
getsockopt(fd, SOL_SOCKET, id)—Get the sending or receiving timeout.
getsockopt(fd, SOL_SOCKET, id)
getsockopt
sys/socket.h
socket
SOL_SOCKET