pub fn peer_debug_info(&self, who: &PeerId) -> String {
		if let Some(info) = self.nodes_info.get(who) {
			format!("{:?} (version: {:?}) through {:?}", who, info.client_version, info.endpoint)
		} else {
			"unknown".to_string()
		}
	}
/// Get debug info for a given peer.
Get debug info for a given peer.
Get debug info for a given peer .
pub fn peer_debug_info(&self, who: &PeerId) -> String {
		if let Some(info) = self.nodes_info.get(who) {
			format!("{:?} (version: {:?}) through {:?}", who, info.client_version, info.endpoint)
		} else {
			"unknown".to_string()
		}
	}
pub fn peer_debug_info ( & self , who : & PeerId ) -> String { if let Some ( info ) = self . nodes_info . get ( who ) { format ! ( " " who info client_version info endpoint ) } else { " " . to_string ( ) } }
Get debug info for a given peer.
Get debug info for a given peer .
&self
who
&PeerId
&self
who
&PeerId