Function peer_ids

Source
pub fn peer_ids<T: Into<NodeId>, const N: usize>(
    cluster: &Cluster,
    rust_nodes: [T; N],
) -> [PeerId; N]
Expand description

Maps an array of Rust node ids to an array of corresponding peer ids.