Function netstack_testing_common::try_all
source · pub async fn try_all<S: Stream<Item = Result<bool>>>(stream: S) -> Result<bool>
Expand description
Returns true
if the stream only yields true
.
If the stream never yields false
or never terminates, try_all
may never resolve.