to_peer_id

Function to_peer_id 

Source
pub fn to_peer_id(node_index: NodeIndex) -> PeerId