/external/rust/crates/futures-util/src/future/ |
D | try_join.rs | 6 use futures_core::future::{Future, TryFuture}; 18 pub struct $Join<Fut1: TryFuture, $($Fut: TryFuture),*> { 26 Fut1: TryFuture + fmt::Debug, 30 $Fut: TryFuture + fmt::Debug, 45 Fut1: TryFuture, 47 $Fut: TryFuture<Error=Fut1::Error> 60 Fut1: TryFuture, 62 $Fut: TryFuture<Error=Fut1::Error> 150 Fut1: TryFuture, in try_join() argument 151 Fut2: TryFuture<Error = Fut1::Error>, in try_join() [all …]
|
D | try_join_all.rs | 13 use super::{assert_future, join_all, IntoFuture, TryFuture, TryMaybeDone}; 29 F: TryFuture, 36 F: TryFuture, 49 F: TryFuture + fmt::Debug, 120 I::Item: TryFuture, in try_join_all() argument 130 assert_future::<Result<Vec<<I::Item as TryFuture>::Ok>, <I::Item as TryFuture>::Error>, _>( in try_join_all() 144 assert_future::<Result<Vec<<I::Item as TryFuture>::Ok>, <I::Item as TryFuture>::Error>, _>( in try_join_all() 152 F: TryFuture, 195 F: TryFuture,
|
D | try_maybe_done.rs | 6 use futures_core::future::{FusedFuture, Future, TryFuture}; 14 pub enum TryMaybeDone<Fut: TryFuture> { 25 impl<Fut: TryFuture + Unpin> Unpin for TryMaybeDone<Fut> {} 28 pub fn try_maybe_done<Fut: TryFuture>(future: Fut) -> TryMaybeDone<Fut> { in try_maybe_done() 32 impl<Fut: TryFuture> TryMaybeDone<Fut> { 64 impl<Fut: TryFuture> FusedFuture for TryMaybeDone<Fut> { 73 impl<Fut: TryFuture> Future for TryMaybeDone<Fut> {
|
D | select_ok.rs | 7 use futures_core::future::{Future, TryFuture}; 35 I::Item: TryFuture + Unpin, in select_ok() 40 Result<(<I::Item as TryFuture>::Ok, Vec<I::Item>), <I::Item as TryFuture>::Error>, in select_ok() 45 impl<Fut: TryFuture + Unpin> Future for SelectOk<Fut> { 81 impl<Fut: TryFuture + Unpin> FromIterator<Fut> for SelectOk<Fut> {
|
D | try_select.rs | 3 use futures_core::future::{Future, TryFuture}; 52 A: TryFuture + Unpin, in try_select() 53 B: TryFuture + Unpin, in try_select() 63 A: TryFuture, 64 B: TryFuture,
|
D | mod.rs | 17 pub use futures_core::future::{FusedFuture, TryFuture};
|
/external/rust/crates/futures-util/src/future/try_future/ |
D | try_flatten_err.rs | 2 use futures_core::future::{FusedFuture, Future, TryFuture}; 25 Fut: TryFuture, 26 Fut::Error: TryFuture<Ok = Fut::Ok>, 38 Fut: TryFuture, 39 Fut::Error: TryFuture<Ok = Fut::Ok>, 41 type Output = Result<Fut::Ok, <Fut::Error as TryFuture>::Error>;
|
D | try_flatten.rs | 2 use futures_core::future::{FusedFuture, Future, TryFuture}; 28 Fut: TryFuture, 29 Fut::Ok: TryFuture<Error = Fut::Error>, 41 Fut: TryFuture, 42 Fut::Ok: TryFuture<Error = Fut::Error>, 44 type Output = Result<<Fut::Ok as TryFuture>::Ok, Fut::Error>; 69 Fut: TryFuture, 82 Fut: TryFuture, 113 Fut: TryFuture,
|
D | into_future.rs | 2 use futures_core::future::{FusedFuture, Future, TryFuture}; 23 impl<Fut: TryFuture + FusedFuture> FusedFuture for IntoFuture<Fut> { 29 impl<Fut: TryFuture> Future for IntoFuture<Fut> {
|
D | mod.rs | 10 future::TryFuture, 49 where Fut: TryFuture 134 impl<Fut: ?Sized + TryFuture> TryFutureExt for Fut {} 137 pub trait TryFutureExt: TryFuture { 398 Fut: TryFuture<Error = Self::Error>, in and_then() 443 Fut: TryFuture<Ok = Self::Ok>, in or_else() 507 Self::Ok: TryFuture<Error = Self::Error>, in try_flatten() 510 assert_future::<Result<<Self::Ok as TryFuture>::Ok, Self::Error>, _>(TryFlatten::new(self)) in try_flatten()
|
/external/rust/crates/futures-util/src/stream/try_stream/ |
D | try_buffered.rs | 4 use futures_core::future::TryFuture; 18 St::Ok: TryFuture, 30 St::Ok: TryFuture, 46 St::Ok: TryFuture<Error = St::Error>, 48 type Item = Result<<St::Ok as TryFuture>::Ok, St::Error>; 82 S::Ok: TryFuture<Error = E>,
|
D | try_buffer_unordered.rs | 4 use futures_core::future::TryFuture; 29 St::Ok: TryFuture, 45 St::Ok: TryFuture<Error = St::Error>, 47 type Item = Result<<St::Ok as TryFuture>::Ok, St::Error>; 81 S::Ok: TryFuture<Error = E>,
|
D | mod.rs | 19 future::{Future, TryFuture}, 274 Fut: TryFuture<Error = Self::Error>, in and_then() 300 Fut: TryFuture<Ok = Self::Ok>, in or_else() 424 Fut: TryFuture<Ok = (), Error = Self::Error>, in try_for_each() 454 Fut: TryFuture<Ok = bool, Error = Self::Error>, in try_skip_while() 484 Fut: TryFuture<Ok = bool, Error = Self::Error>, in try_take_while() 707 Fut: TryFuture<Ok = Option<T>, Error = Self::Error>, in try_filter_map() 798 Fut: TryFuture<Ok = T, Error = Self::Error>, in try_fold() 907 Self::Ok: TryFuture<Error = Self::Error>, in try_buffer_unordered() 910 assert_stream::<Result<<Self::Ok as TryFuture>::Ok, Self::Error>, _>( in try_buffer_unordered() [all …]
|
D | and_then.rs | 3 use futures_core::future::TryFuture; 40 Fut: TryFuture<Error = St::Error>, 53 Fut: TryFuture<Error = St::Error>, 89 Fut: TryFuture<Error = St::Error>,
|
D | try_fold.rs | 3 use futures_core::future::{FusedFuture, Future, TryFuture}; 41 Fut: TryFuture<Ok = T, Error = St::Error>, 52 Fut: TryFuture<Ok = T, Error = St::Error>, 63 Fut: TryFuture<Ok = T, Error = St::Error>,
|
D | or_else.rs | 3 use futures_core::future::TryFuture; 40 Fut: TryFuture<Ok = St::Ok>, 53 Fut: TryFuture<Ok = St::Ok>, 93 Fut: TryFuture<Ok = St::Ok>,
|
D | try_take_while.rs | 3 use futures_core::future::TryFuture; 49 Fut: TryFuture<Ok = bool, Error = St::Error>, 62 Fut: TryFuture<Ok = bool, Error = St::Error>, 113 Fut: TryFuture<Ok = bool, Error = St::Error>,
|
D | try_skip_while.rs | 3 use futures_core::future::TryFuture; 46 Fut: TryFuture<Ok = bool, Error = St::Error>, 59 Fut: TryFuture<Ok = bool, Error = St::Error>, 104 Fut: TryFuture<Ok = bool, Error = St::Error>,
|
D | try_for_each.rs | 3 use futures_core::future::{Future, TryFuture}; 38 Fut: TryFuture<Ok = (), Error = St::Error>, 49 Fut: TryFuture<Ok = (), Error = St::Error>,
|
D | try_unfold.rs | 4 use futures_core::future::TryFuture; 62 Fut: TryFuture<Ok = Option<(Item, T)>>, in try_unfold() 91 Fut: TryFuture<Ok = Option<(Item, T)>>,
|
D | try_filter_map.rs | 3 use futures_core::future::TryFuture; 48 Fut: TryFuture<Ok = Option<T>, Error = St::Error>, 59 Fut: TryFuture<Ok = Option<T>, Error = St::Error>,
|
/external/rust/crates/futures/tests/ |
D | object_safety.rs | 6 use futures::future::{FusedFuture, Future, TryFuture}; in future() 10 assert_is_object_safe::<&dyn TryFuture<Ok = (), Error = (), Output = Result<(), ()>>>(); in future()
|
/external/rust/crates/futures-core/src/ |
D | future.rs | 58 pub trait TryFuture: Future + private_try_future::Sealed { interface 73 impl<F, T, E> TryFuture for F
|
D | lib.rs | 20 pub use self::future::{FusedFuture, Future, TryFuture};
|
/external/rust/crates/futures/src/ |
D | lib.rs | 105 pub use futures_core::future::{Future, TryFuture}; 238 pub use crate::future::{self, Future, TryFuture};
|