Home
last modified time | relevance | path

Searched refs:select_next_some (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/futures/tests/
Dstream_select_next_some.rs16 let mut select_next_some = tasks.select_next_some(); in is_terminated() localVariable
17 assert_eq!(select_next_some.is_terminated(), false); in is_terminated()
18 assert_eq!(select_next_some.poll_unpin(&mut cx), Poll::Pending); in is_terminated()
20 assert_eq!(select_next_some.is_terminated(), true); in is_terminated()
21 drop(select_next_some); in is_terminated()
25 let mut select_next_some = tasks.select_next_some(); in is_terminated() localVariable
26 assert_eq!(select_next_some.is_terminated(), false); in is_terminated()
27 assert_eq!(select_next_some.poll_unpin(&mut cx), Poll::Ready(1)); in is_terminated()
28 assert_eq!(select_next_some.is_terminated(), false); in is_terminated()
29 assert_eq!(select_next_some.poll_unpin(&mut cx), Poll::Pending); in is_terminated()
[all …]
/external/rust/crates/futures-util/src/stream/stream/
Dmod.rs132 mod select_next_some; module
134 pub use self::select_next_some::SelectNextSome;
1678 fn select_next_some(&mut self) -> SelectNextSome<'_, Self> in select_next_some() method