MCPcopy Create free account
hub / github.com/emberian/evdev / poll_next

Method poll_next

src/uinput.rs:639–644  ·  view source on GitHub ↗
(
            self: std::pin::Pin<&mut Self>,
            cx: &mut Context<'_>,
        )

Source from the content-addressed store, hash-verified

637 impl futures_core::Stream for VirtualEventStream {
638 type Item = io::Result<InputEvent>;
639 fn poll_next(
640 self: std::pin::Pin<&mut Self>,
641 cx: &mut Context<'_>,
642 ) -> Poll<Option<Self::Item>> {
643 self.get_mut().poll_event(cx).map(Some)
644 }
645 }
646}
647#[cfg(feature = "tokio")]

Callers

nothing calls this directly

Calls 1

poll_eventMethod · 0.45

Tested by

no test coverage detected