pub async fn try_wait_for_all_node_peer<I, F>(
cluster: &mut Cluster,
nodes_peers: I,
time: Duration,
f: F,
) -> Result<bool, ClusterEvent>
Expand description
Tries to wait for particular event to happen for all specified pairs of (node, peer_id).
Function f
extract peer_id from a Rust event.