pub fn add_inflight_ping(&mut self, nonce: u64, node_id: &NodeId) {
        let now = Utc::now().naive_utc();
        self.inflight_pings.insert(nonce, ((*node_id).clone(), now));
        self.clear_stale_inflight_pings();
    }
/// Adds a ping to the inflight ping list, while noting the current time that a ping was sent.
Adds a ping to the inflight ping list, while noting the current time that a ping was sent.
Adds a ping to the inflight ping list while noting the current time that a ping was sent .
pub fn add_inflight_ping(&mut self, nonce: u64, node_id: &NodeId) {
        let now = Utc::now().naive_utc();
        self.inflight_pings.insert(nonce, ((*node_id).clone(), now));
        self.clear_stale_inflight_pings();
    }
pub fn add_inflight_ping ( & mut self , nonce : u64 , node_id : & NodeId ) { let now = Utc :: now ( ) . naive_utc ( ) ; self . inflight_pings . insert ( nonce , ( ( * node_id ) . clone ( ) , now ) ) ; self . clear_stale_inflight_pings ( ) ; }
Adds a ping to the inflight ping list, while noting the current time that a ping was sent.
Adds a ping to the inflight ping list while noting the current time that a ping was sent .
&mut self
nonce
u64
node_id
&NodeId
&mut self
nonce
u64
node_id
&NodeId