Home
last modified time | relevance | path

Searched refs:Fut1 (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/futures-util/src/future/
Dtry_join.rs13 ($Join:ident, <Fut1, $($Fut:ident),*>),
18 pub struct $Join<Fut1: TryFuture, $($Fut: TryFuture),*> {
19 #[pin] Fut1: TryMaybeDone<Fut1>,
24 impl<Fut1, $($Fut),*> fmt::Debug for $Join<Fut1, $($Fut),*>
26 Fut1: TryFuture + fmt::Debug,
27 Fut1::Ok: fmt::Debug,
28 Fut1::Error: fmt::Debug,
37 .field("Fut1", &self.Fut1)
43 impl<Fut1, $($Fut),*> $Join<Fut1, $($Fut),*>
45 Fut1: TryFuture,
[all …]
Djoin.rs78 (Join, <Fut1, Fut2>),
81 (Join3, <Fut1, Fut2, Fut3>),
84 (Join4, <Fut1, Fut2, Fut3, Fut4>),
87 (Join5, <Fut1, Fut2, Fut3, Fut4, Fut5>),
111 pub fn join<Fut1, Fut2>(future1: Fut1, future2: Fut2) -> Join<Fut1, Fut2> in join() argument
113 Fut1: Future, in join()
117 assert_future::<(Fut1::Output, Fut2::Output), _>(f) in join()
136 pub fn join3<Fut1, Fut2, Fut3>( in join3() argument
137 future1: Fut1, in join3() argument
140 ) -> Join3<Fut1, Fut2, Fut3> in join3() argument
[all …]
/external/rust/crates/futures-util/src/future/try_future/
Dtry_flatten_err.rs10 pub enum TryFlattenErr<Fut1, Fut2> {
11 First { #[pin] f: Fut1 },
17 impl<Fut1, Fut2> TryFlattenErr<Fut1, Fut2> {
18 pub(crate) fn new(future: Fut1) -> Self { in new()
Dmod.rs32 TryFlatten<Fut1, Fut2>(
33 try_flatten::TryFlatten<Fut1, Fut2>
34 ): Debug + Future + FusedFuture + New[|x: Fut1| try_flatten::TryFlatten::new(x)]
39 TryFlattenErr<Fut1, Fut2>(
40 try_flatten_err::TryFlattenErr<Fut1, Fut2>
41 ): Debug + Future + FusedFuture + New[|x: Fut1| try_flatten_err::TryFlattenErr::new(x)]
63 AndThen<Fut1, Fut2, F>(
64 TryFlatten<MapOk<Fut1, F>, Fut2>
65 ): Debug + Future + FusedFuture + New[|x: Fut1, f: F| TryFlatten::new(MapOk::new(x, f))]
70 OrElse<Fut1, Fut2, F>(
[all …]
Dtry_flatten.rs13 pub enum TryFlatten<Fut1, Fut2> {
14 First { #[pin] f: Fut1 },
20 impl<Fut1, Fut2> TryFlatten<Fut1, Fut2> {
21 pub(crate) fn new(future: Fut1) -> Self { in new()
/external/rust/crates/futures-util/src/future/future/
Dflatten.rs13 pub enum Flatten<Fut1, Fut2> {
14 First { #[pin] f: Fut1 },
20 impl<Fut1, Fut2> Flatten<Fut1, Fut2> {
21 pub(crate) fn new(future: Fut1) -> Self { in new()
Dmod.rs71 Then<Fut1, Fut2, F>(
72 flatten::Flatten<Map<Fut1, F>, Fut2>
73 ): Debug + Future + FusedFuture + New[|x: Fut1, y: F| flatten::Flatten::new(Map::new(x, y))]