pub fn to_active_ping(
peer: PeerId,
sender: HeartbeatSendPingTx,
timeout: Duration,
) -> impl Future<Output = (PeerId, Result<Duration>, String)>
Expand description
Timeout-based future that will resolve to the result of the ping operation.