Home
last modified time | relevance | path

Searched refs:FusedFuture (Results 1 – 25 of 44) sorted by relevance

12

/external/rust/crates/futures-core/src/
Dfuture.rs27 pub trait FusedFuture: Future { trait
32 impl<F: FusedFuture + ?Sized + Unpin> FusedFuture for &mut F { impl
34 <F as FusedFuture>::is_terminated(&**self) in is_terminated()
38 impl<P> FusedFuture for Pin<P>
41 P::Target: FusedFuture,
44 <P::Target as FusedFuture>::is_terminated(&**self) in is_terminated()
93 impl<F: FusedFuture + ?Sized + Unpin> FusedFuture for Box<F> {
95 <F as FusedFuture>::is_terminated(&**self) in is_terminated()
100 impl<F: FusedFuture> FusedFuture for std::panic::AssertUnwindSafe<F> {
102 <F as FusedFuture>::is_terminated(&**self) in is_terminated()
/external/rust/crates/futures-util/src/future/try_future/
Dmod.rs34 ): Debug + Future + FusedFuture + New[|x: Fut1| try_flatten::TryFlatten::new(x)]
41 ): Debug + Future + FusedFuture + New[|x: Fut1| try_flatten_err::TryFlattenErr::new(x)]
65 ): Debug + Future + FusedFuture + New[|x: Fut1, f: F| TryFlatten::new(MapOk::new(x, f))]
72 ): Debug + Future + FusedFuture + New[|x: Fut1, f: F| TryFlattenErr::new(MapErr::new(x, f))]
79 ): Debug + Future + FusedFuture + New[|x: Fut| MapErr::new(x, into_fn())]
86 ): Debug + Future + FusedFuture + New[|x: Fut| MapOk::new(x, into_fn())]
93 …): Debug + Future + FusedFuture + New[|x: Fut, f: F| Inspect::new(IntoFuture::new(x), inspect_ok_f…
100 …): Debug + Future + FusedFuture + New[|x: Fut, f: F| Inspect::new(IntoFuture::new(x), inspect_err_…
110 ): Debug + Future + FusedFuture + New[|x: Fut, f: F| Map::new(IntoFuture::new(x), map_ok_fn(f))]
117 … ): Debug + Future + FusedFuture + New[|x: Fut, f: F| Map::new(IntoFuture::new(x), map_err_fn(f))]
[all …]
Dinto_future.rs2 use futures_core::future::{FusedFuture, Future, TryFuture};
23 impl<Fut: TryFuture + FusedFuture> FusedFuture for IntoFuture<Fut> {
Dtry_flatten_err.rs2 use futures_core::future::{FusedFuture, Future, TryFuture};
23 impl<Fut> FusedFuture for TryFlattenErr<Fut, Fut::Error>
/external/rust/crates/futures-util/src/future/
Doption.rs4 use futures_core::future::{Future, FusedFuture};
48 impl<F: FusedFuture> FusedFuture for OptionFuture<F> {
Dpending.rs4 use futures_core::future::{FusedFuture, Future};
14 impl<T> FusedFuture for Pending<T> {
Dlazy.rs3 use futures_core::future::{FusedFuture, Future};
41 impl<F, R> FusedFuture for Lazy<F>
Dready.rs3 use futures_core::future::{FusedFuture, Future};
21 impl<T> FusedFuture for Ready<T> {
Djoin.rs7 use futures_core::future::{FusedFuture, Future};
66 impl<$($Fut: FusedFuture),*> FusedFuture for $Join<$($Fut),*> { impl
Dmaybe_done.rs6 use futures_core::future::{FusedFuture, Future};
79 impl<Fut: Future> FusedFuture for MaybeDone<Fut> {
Dtry_maybe_done.rs6 use futures_core::future::{FusedFuture, Future, TryFuture};
64 impl<Fut: TryFuture> FusedFuture for TryMaybeDone<Fut> {
Dselect.rs3 use futures_core::future::{Future, FusedFuture};
112 impl<A, B> FusedFuture for Select<A, B>
/external/rust/crates/futures-util/src/future/future/
Dmod.rs33 ): Debug + Future + FusedFuture + New[|x: F| flatten::Flatten::new(x)]
52 ): Debug + Future + FusedFuture + New[|x: Fut, f: F| map::Map::new(x, f)]
66 ): Debug + Future + FusedFuture + New[|x: Fut| Map::new(x, into_fn())]
73 ): Debug + Future + FusedFuture + New[|x: Fut1, y: F| flatten::Flatten::new(Map::new(x, y))]
80 ): Debug + Future + FusedFuture + New[|x: Fut, f: F| map::Map::new(x, inspect_fn(f))]
87 ): Debug + Future + FusedFuture + New[|x: Fut| Map::new(x, ok_fn())]
94 ): Debug + Future + FusedFuture + New[|x: Fut| Map::new(x, ok_fn())]
Dfuse.rs2 use futures_core::future::{Future, FusedFuture};
74 impl<Fut: Future> FusedFuture for Fuse<Fut> {
Dmap.rs2 use futures_core::future::{FusedFuture, Future};
32 impl<Fut, F, T> FusedFuture for Map<Fut, F>
/external/rust/crates/futures-util/src/async_await/
Dmod.rs6 use futures_core::future::{Future, FusedFuture};
47 pub fn assert_fused_future<T: Future + FusedFuture>(_: &T) {} in assert_fused_future()
/external/rust/crates/futures-util/src/stream/stream/
Dnext.rs3 use futures_core::future::{FusedFuture, Future};
22 impl<St: ?Sized + FusedStream + Unpin> FusedFuture for Next<'_, St> {
Dselect_next_some.rs4 use futures_core::future::{Future, FusedFuture};
22 impl<St: ?Sized + FusedStream + Unpin> FusedFuture for SelectNextSome<'_, St> {
Dinto_future.rs3 use futures_core::future::{FusedFuture, Future};
73 impl<St: Stream + Unpin> FusedFuture for StreamFuture<St> {
Dcollect.rs3 use futures_core::future::{FusedFuture, Future};
33 impl<St, C> FusedFuture for Collect<St, C>
Dconcat.rs2 use futures_core::future::{Future, FusedFuture};
61 impl<St> FusedFuture for Concat<St>
Dunzip.rs3 use futures_core::future::{FusedFuture, Future};
39 impl<St, A, B, FromA, FromB> FusedFuture for Unzip<St, FromA, FromB>
/external/rust/crates/futures-util/src/stream/try_stream/
Dtry_next.rs3 use futures_core::future::{FusedFuture, Future};
22 impl<St: ?Sized + TryStream + Unpin + FusedStream> FusedFuture for TryNext<'_, St> {
Dtry_collect.rs3 use futures_core::future::{FusedFuture, Future};
29 impl<St, C> FusedFuture for TryCollect<St, C>
/external/rust/crates/futures/tests/
Dobject_safety.rs6 use futures::future::{FusedFuture, Future, TryFuture}; in future()
9 assert_is_object_safe::<&dyn FusedFuture<Output = ()>>(); in future()

12