/// The function returns a new peer context associated with the given node
/// ID.
The function returns a new peer context associated with the given node
ID.
The function returns a new peer context associated with the given node ID .
fn from(peer_id: NodeId) -> Self {
        PeerContext {
            peer_id,
            requested: HashMap::new(),
            disconnect_time: None,
            last_retransmission_request_processed_time: Instant::now(),
        }
    }
fn from ( peer_id : NodeId ) -> Self { PeerContext { peer_id , requested : HashMap :: new ( ) , disconnect_time : None , last_retransmission_request_processed_time : Instant :: now ( ) , } }
The function returns a new peer context associated with the given node
ID.
The function returns a new peer context associated with the given node ID .
peer_id
NodeId