Struct std::Join2
generic<A: Future, B: Future, TA, TB> struct Join2 {
A a;
B b;
TA ra[1];
TB rb[1];
int done_a;
int done_b;
int delivered;
}Polls both until both are Ready (tokio::join!). Output: Both<TA, TB>.
Fields
1: ra holds a's output
the outputs moved out in the Ready Both
Methods
and outputs nobody received