pub(crate) fn events(&self) -> impl Iterator<Item = (Socket, bool, bool)> + '_ {
        self.events
            .iter()
            .map(|event| (event.key as Socket, event.readable, event.writable))
    }
/// Get an iterator over the socket events that occurred during the most
/// recent call to `poll`.
Get an iterator over the socket events that occurred during the most
recent call to `poll`.
Get an iterator over the socket events that occurred during the most recent call to ` poll ` .
pub(crate) fn events(&self) -> impl Iterator<Item = (Socket, bool, bool)> + '_ {
        self.events
            .iter()
            .map(|event| (event.key as Socket, event.readable, event.writable))
    }
pub ( crate ) fn events ( & self ) -> impl Iterator < Item = ( Socket , bool , bool ) > + ' _ { self . events . iter ( ) . map ( | event | ( event . key as Socket , event . readable , event . writable ) ) }
Get an iterator over the socket events that occurred during the most
recent call to `poll`.
Get an iterator over the socket events that occurred during the most recent call to ` poll ` .
&self