Module core::future::join

source ·

Macros

  • joinExperimental
    Polls multiple futures simultaneously, returning a tuple of all results once complete.
  • join_internal 🔒 Experimental
    To be able to name the i-th future in the tuple (say we want the .4-th), the following trick will be used: let (_, _, _, _, it, ..) = tuple; In order to do that, we need to generate a i-long repetition of _, for each i-th fut. Hence the recursive muncher approach.

Enums

  • MaybeDoneExperimental
    Future used by join! that stores it’s output to be later taken and doesn’t panic when polled after ready.