Home
last modified time | relevance | path

Searched refs:StreamExt (Results 1 – 25 of 71) sorted by relevance

123

/external/rust/crates/tokio-stream/tests/
Dasync_send_sync.rs100 async_assert_fn!(tokio_stream::StreamExt::next(&mut BoxStream<()>): !Unpin);
101 async_assert_fn!(tokio_stream::StreamExt::try_next(&mut BoxStream<Result<(), ()>>): !Unpin);
102 async_assert_fn!(tokio_stream::StreamExt::all(&mut BoxStream<()>, fn(())->bool): !Unpin);
103 async_assert_fn!(tokio_stream::StreamExt::any(&mut BoxStream<()>, fn(())->bool): !Unpin);
104 async_assert_fn!(tokio_stream::StreamExt::fold(&mut BoxStream<()>, (), fn((), ())->()): !Unpin);
105 async_assert_fn!(tokio_stream::StreamExt::collect<Vec<()>>(&mut BoxStream<()>): !Unpin);
Dstream_timeout.rs4 use tokio_stream::{self, StreamExt};
7 use futures::StreamExt as _;
Dstream_empty.rs1 use tokio_stream::{self as stream, Stream, StreamExt};
Dstream_pending.rs1 use tokio_stream::{self as stream, Stream, StreamExt};
Dstream_once.rs1 use tokio_stream::{self as stream, Stream, StreamExt};
Dtime_throttle.rs5 use tokio_stream::StreamExt;
/external/rust/crates/futures/tests/
Dstream.rs4 use futures::stream::{self, StreamExt}; in select()
20 use futures::stream::{self, StreamExt}; in flat_map()
40 use futures::stream::{self, StreamExt}; in scan()
59 use futures::stream::{self, StreamExt}; in take_until()
128 use futures::stream::StreamExt; in ready_chunks_panic_on_cap_zero()
138 use futures::stream::StreamExt; in ready_chunks()
Dstream_select_next_some.rs5 use futures::stream::{FuturesUnordered, StreamExt}; in is_terminated()
34 use futures::stream::{FuturesUnordered, StreamExt}; in select()
65 use futures::stream::{FuturesUnordered, StreamExt}; in futures_util_select()
Dfutures_ordered.rs5 use futures::stream::{StreamExt, FuturesOrdered}; in works_1()
31 use futures::stream::{StreamExt, FuturesOrdered}; in works_2()
56 use futures::stream::{StreamExt, FuturesOrdered}; in from_iterator()
71 use futures::stream::{StreamExt, FuturesOrdered}; in queue_never_unblocked()
Dstream_catch_unwind.rs4 use futures::stream::{self, StreamExt}; in panic_in_the_middle_of_the_stream()
20 use futures::stream::{self, StreamExt}; in no_panic()
Dfutures_unordered.rs2 use futures::stream::{FuturesUnordered, StreamExt};
11 use futures::stream::{FusedStream, FuturesUnordered, StreamExt}; in is_terminated()
70 use futures::stream::{FuturesUnordered, StreamExt}; in works_2()
99 use futures::stream::{FuturesUnordered, StreamExt}; in from_iterator()
117 use futures::stream::{FuturesUnordered, StreamExt}; in finished_future()
296 use futures::stream::{FuturesUnordered, StreamExt}; in len_valid_during_out_of_order_completion()
Dio_lines.rs21 use futures::stream::StreamExt; in lines()
44 use futures::stream::{self, StreamExt, TryStreamExt}; in maybe_pending()
Dready_queue.rs13 use futures::stream::{FuturesUnordered, StreamExt}; in basic_usage()
47 use futures::stream::{FuturesUnordered, StreamExt}; in resolving_errors()
162 use futures::stream::{FuturesUnordered, StreamExt}; in panicking_future_dropped()
Dstream_peekable.rs5 use futures::stream::{self, Peekable, StreamExt}; in peekable()
Dsink_fanout.rs7 use futures::stream::{self, StreamExt}; in it_works()
Dsink.rs2 use futures::stream::{Stream, StreamExt};
306 use futures::stream::{self, StreamExt}; in send_all()
410 use futures::stream::{self, StreamExt}; in with_flat_map()
492 use futures::{SinkExt, StreamExt}; in with_implements_clone()
572 use futures::stream::{self, StreamExt}; in fanout_smoke()
589 use futures::stream::StreamExt; in fanout_backpressure()
/external/rust/crates/futures/src/
Dlib.rs111 pub use futures_util::stream::{StreamExt, TryStreamExt};
182 pub use crate::stream::{StreamExt as _, TryStreamExt as _};
/external/rust/crates/async-stream/tests/
Dfor_await.rs3 use futures_util::stream::StreamExt;
/external/rust/crates/async-stream/examples/
Dtcp_accept.rs3 use futures_util::stream::StreamExt;
/external/rust/crates/tokio/tests/
Dtask_blocking.rs183 use tokio_stream::StreamExt; in coop_disabled_in_block_in_place()
213 use tokio_stream::StreamExt; in coop_disabled_in_block_in_place_in_block_on()
/external/rust/crates/tokio-stream/src/
Dstream_ext.rs92 pub trait StreamExt: Stream { interface
904 impl<St: ?Sized> StreamExt for St where St: Stream {}
Dlib.rs80 pub use stream_ext::{collect::FromStream, StreamExt};
/external/rust/crates/async-stream/
DREADME.md25 use futures_util::stream::StreamExt;
50 use futures_util::stream::StreamExt;
78 use futures_util::stream::StreamExt;
/external/rust/crates/futures-util/benches/
Dfutures_unordered.rs9 use futures::stream::{StreamExt, FuturesUnordered};
/external/rust/crates/futures-util/src/stream/stream/
Dnext.rs1 use crate::stream::StreamExt;

123