Home
last modified time | relevance | path

Searched refs:TryFuture (Results 1 – 25 of 27) sorted by relevance

12

/external/rust/crates/futures-util/src/future/
Dtry_join.rs6 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 …]
Dtry_join_all.rs13 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,
Dtry_maybe_done.rs6 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> {
Dselect_ok.rs7 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> {
Dtry_select.rs3 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,
Dmod.rs17 pub use futures_core::future::{FusedFuture, TryFuture};
/external/rust/crates/futures-util/src/future/try_future/
Dtry_flatten_err.rs2 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>;
Dtry_flatten.rs2 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,
Dinto_future.rs2 use futures_core::future::{FusedFuture, Future, TryFuture};
23 impl<Fut: TryFuture + FusedFuture> FusedFuture for IntoFuture<Fut> {
29 impl<Fut: TryFuture> Future for IntoFuture<Fut> {
Dmod.rs10 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/
Dtry_buffered.rs4 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>,
Dtry_buffer_unordered.rs4 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>,
Dmod.rs19 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 …]
Dand_then.rs3 use futures_core::future::TryFuture;
40 Fut: TryFuture<Error = St::Error>,
53 Fut: TryFuture<Error = St::Error>,
89 Fut: TryFuture<Error = St::Error>,
Dtry_fold.rs3 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>,
Dor_else.rs3 use futures_core::future::TryFuture;
40 Fut: TryFuture<Ok = St::Ok>,
53 Fut: TryFuture<Ok = St::Ok>,
93 Fut: TryFuture<Ok = St::Ok>,
Dtry_take_while.rs3 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>,
Dtry_skip_while.rs3 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>,
Dtry_for_each.rs3 use futures_core::future::{Future, TryFuture};
38 Fut: TryFuture<Ok = (), Error = St::Error>,
49 Fut: TryFuture<Ok = (), Error = St::Error>,
Dtry_unfold.rs4 use futures_core::future::TryFuture;
62 Fut: TryFuture<Ok = Option<(Item, T)>>, in try_unfold()
91 Fut: TryFuture<Ok = Option<(Item, T)>>,
Dtry_filter_map.rs3 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/
Dobject_safety.rs6 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/
Dfuture.rs58 pub trait TryFuture: Future + private_try_future::Sealed { interface
73 impl<F, T, E> TryFuture for F
Dlib.rs20 pub use self::future::{FusedFuture, Future, TryFuture};
/external/rust/crates/futures/src/
Dlib.rs105 pub use futures_core::future::{Future, TryFuture};
238 pub use crate::future::{self, Future, TryFuture};

12