Currently, there is no way to get events in a non-blocking way. Only wait_for_event() actually reads from the socket.
I guess poll_for_event() has to somehow check if there is currently a reader and if not, try to read. No idea how this could fit into the Read trait.
Currently, there is no way to get events in a non-blocking way. Only
wait_for_event()actually reads from the socket.I guess
poll_for_event()has to somehow check if there is currently a reader and if not, try to read. No idea how this could fit into theReadtrait.