Home
last modified time | relevance | path

Searched refs:poll_read_ready (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/tokio/tests/
Dtcp_stream.rs136 assert_ok!(poll_fn(|cx| $stream.poll_read_ready(cx)).await);
143 assert_pending!($stream.poll_read_ready(cx));
167 async fn poll_read_ready() { in poll_read_ready() function
Duds_stream.rs161 assert_ok!(poll_fn(|cx| $stream.poll_read_ready(cx)).await);
168 assert_pending!($stream.poll_read_ready(cx));
192 async fn poll_read_ready() { in poll_read_ready() function
Dio_async_fd.rs409 assert_pending!(afd_a.as_ref().poll_read_ready(&mut waker.context())); in poll_fns()
419 .poll_read_ready(cx)))); in poll_fns()
422 let _ = futures::future::poll_fn(|cx| afd_a_2.as_ref().poll_read_ready(cx)).await; in poll_fns()
547 futures::future::poll_fn(|cx| fd.poll_read_ready(cx)).await in poll_readable()
/external/rust/crates/tokio/src/io/
Dasync_fd.rs263 pub fn poll_read_ready<'a>( in poll_read_ready() method
267 let event = ready!(self.registration.poll_read_ready(cx))?; in poll_read_ready()
305 let event = ready!(self.registration.poll_read_ready(cx))?; in poll_read_ready_mut()
/external/rust/crates/tokio/src/net/tcp/
Dstream.rs333 let ev = ready!(self.io.registration().poll_read_ready(cx))?; in poll_peek()
495 pub fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_read_ready() method
496 self.io.registration().poll_read_ready(cx).map_ok(|_| ()) in poll_read_ready()
Dlistener.rs168 let ev = ready!(self.io.registration().poll_read_ready(cx))?; in poll_accept()
/external/rust/crates/tokio/src/net/unix/
Dstream.rs203 pub fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<io::Result<()>> { in poll_read_ready() method
204 self.io.registration().poll_read_ready(cx).map_ok(|_| ()) in poll_read_ready()
/external/rust/crates/tokio/src/signal/unix/
Ddriver.rs106 let ev = match self.receiver.registration().poll_read_ready(&mut cx) { in process()
/external/rust/crates/tokio/src/io/driver/
Dregistration.rs116 pub(crate) fn poll_read_ready(&self, cx: &mut Context<'_>) -> Poll<io::Result<ReadyEvent>> { in poll_read_ready() method