Forwarding type A into a receiver that has type B

I have a futures_channel mpsc UnboundedReceiver<A>, as well as a futures_channel mpsc UnboundedReceiver<B>. I want to run a while-let await on receiver A, but need to find a way to merge the two items together that way there is a single closure (for borrowing reasons).

let rx_a = ...;
let rx_b = ...;
let merged = rx_a.forward(rx_b);
rx_b. // <== what do I do next?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.