Searched refs:pending_once (Results 1 – 6 of 6) sorted by relevance
18 $crate::__private::async_await::pending_once().await23 pub fn pending_once() -> PendingOnce { in pending_once() function
13 future::ready(Some((state * 2, state + 1))).pending_once() in unfold1()15 future::ready(None).pending_once() in unfold1()
42 let mut fut = future::ready(1).pending_once(); in select()75 let mut fut = future::ready(1).pending_once(); in futures_util_select()
7 let pending_once = async { pending!() }; in poll_and_pending() localVariable9 pin_mut!(pending_once); in poll_and_pending()10 assert_eq!(Poll::Pending, poll!(&mut pending_once)); in poll_and_pending()11 assert_eq!(Poll::Ready(()), poll!(&mut pending_once)); in poll_and_pending()
62 ready(()).pending_once().await; in mutex_contested()
284 let fut = future::ready(()).pending_once().assert_unmoved(); in futures_not_moved_after_poll()