/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_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 | try_join_all.rs | 13 use super::{assert_future, TryFuture, TryMaybeDone}; 34 F: TryFuture, 41 F: TryFuture + fmt::Debug, 93 I::Item: TryFuture, in try_join_all() argument 96 …assert_future::<Result<Vec<<I::Item as TryFuture>::Ok>, <I::Item as TryFuture>::Error>, _>(TryJoin… in try_join_all() 103 F: TryFuture, 138 impl<F: TryFuture> FromIterator<F> for TryJoinAll<F> {
|
D | select_ok.rs | 7 use futures_core::future::{Future, TryFuture}; 34 I::Item: TryFuture + Unpin, in select_ok() 40 …assert_future::<Result<(<I::Item as TryFuture>::Ok, Vec<I::Item>), <I::Item as TryFuture>::Error>,… in select_ok() 43 impl<Fut: TryFuture + Unpin> Future for SelectOk<Fut> { 80 impl<Fut: TryFuture + Unpin> FromIterator<Fut> for SelectOk<Fut> {
|
D | try_select.rs | 2 use futures_core::future::{Future, TryFuture}; 51 where A: TryFuture + Unpin, B: TryFuture + Unpin in try_select() 60 where A: TryFuture, 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}; 24 where Fut: TryFuture, 25 Fut::Error: TryFuture<Ok=Fut::Ok>, 36 where Fut: TryFuture, 37 Fut::Error: TryFuture<Ok=Fut::Ok>, 39 type Output = Result<Fut::Ok, <Fut::Error as TryFuture>::Error>;
|
D | try_flatten.rs | 2 use futures_core::future::{FusedFuture, Future, TryFuture}; 27 where Fut: TryFuture, 28 Fut::Ok: TryFuture<Error=Fut::Error>, 39 where Fut: TryFuture, 40 Fut::Ok: TryFuture<Error=Fut::Error>, 42 type Output = Result<<Fut::Ok as TryFuture>::Ok, Fut::Error>; 68 where Fut: TryFuture, 80 where Fut: TryFuture, 114 Fut: TryFuture,
|
D | into_future.rs | 2 use futures_core::future::{FusedFuture, Future, TryFuture}; 23 impl<Fut: TryFuture + FusedFuture> FusedFuture for IntoFuture<Fut> { 27 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 { 392 Fut: TryFuture<Error = Self::Error>, in and_then() 437 Fut: TryFuture<Ok = Self::Ok>, in or_else() 501 Self::Ok: TryFuture<Error = Self::Error>, in try_flatten() 504 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 | 3 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>; 85 S::Ok: TryFuture<Error = E>,
|
D | try_buffer_unordered.rs | 3 use futures_core::future::TryFuture; 28 St::Ok: TryFuture, 43 St::Ok: TryFuture<Error = St::Error>, 45 type Item = Result<<St::Ok as TryFuture>::Ok, St::Error>; 81 S::Ok: TryFuture<Error = E>,
|
D | mod.rs | 10 future::{Future, TryFuture}, 261 Fut: TryFuture<Error = Self::Error>, in and_then() 287 Fut: TryFuture<Ok = Self::Ok>, in or_else() 411 Fut: TryFuture<Ok = (), Error = Self::Error>, in try_for_each() 441 Fut: TryFuture<Ok = bool, Error = Self::Error>, in try_skip_while() 471 Fut: TryFuture<Ok = bool, Error = Self::Error>, in try_take_while() 647 Fut: TryFuture<Ok = Option<T>, Error = Self::Error>, in try_filter_map() 734 Fut: TryFuture<Ok = T, Error = Self::Error>, in try_fold() 843 Self::Ok: TryFuture<Error = Self::Error>, in try_buffer_unordered() 846 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; 39 Fut: TryFuture<Error = St::Error>, 51 Fut: TryFuture<Error = St::Error>, 89 Fut: TryFuture<Error = St::Error>,
|
D | try_fold.rs | 3 use futures_core::future::{FusedFuture, Future, TryFuture}; 40 Fut: TryFuture<Ok = T, Error = St::Error>, 55 Fut: TryFuture<Ok = T, Error = St::Error>, 65 Fut: TryFuture<Ok = T, Error = St::Error>,
|
D | or_else.rs | 3 use futures_core::future::TryFuture; 39 Fut: TryFuture<Ok = St::Ok>, 51 Fut: TryFuture<Ok = St::Ok>, 93 Fut: TryFuture<Ok = St::Ok>,
|
D | try_for_each.rs | 3 use futures_core::future::{Future, TryFuture}; 37 Fut: TryFuture<Ok = (), Error = St::Error>, 51 Fut: TryFuture<Ok = (), Error = St::Error>,
|
D | try_take_while.rs | 3 use futures_core::future::TryFuture; 49 Fut: TryFuture<Ok = bool, Error = St::Error>, 68 Fut: TryFuture<Ok = bool, Error = St::Error>, 119 Fut: TryFuture<Ok = bool, Error = St::Error>,
|
D | try_skip_while.rs | 3 use futures_core::future::TryFuture; 45 Fut: TryFuture<Ok = bool, Error = St::Error>, 63 Fut: TryFuture<Ok = bool, Error = St::Error>, 110 Fut: TryFuture<Ok = bool, Error = St::Error>,
|
D | try_unfold.rs | 4 use futures_core::future::TryFuture; 62 Fut: TryFuture<Ok = Option<(Item, T)>>, in try_unfold() 98 Fut: TryFuture<Ok = Option<(Item, T)>>,
|
D | try_filter_map.rs | 3 use futures_core::future::{TryFuture}; 47 Fut: TryFuture<Ok = Option<T>, Error = St::Error>, 57 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 { trait 76 impl<F, T, E> TryFuture for F
|
D | lib.rs | 20 #[doc(hidden)] pub use self::future::{Future, FusedFuture, TryFuture};
|
/external/rust/crates/futures/src/ |
D | lib.rs | 104 pub use futures_core::future::{Future, TryFuture}; 173 pub use crate::future::{self, Future, TryFuture};
|