/// Returns a node (Id and reference-to-CryptoComponent) chosen randomly
/// from this environment's nodes exclusive of the given exclusions.
Returns a node (Id and reference-to-CryptoComponent) chosen randomly
from this environment's nodes exclusive of the given exclusions.
Returns a node ( Id and reference - to - CryptoComponent ) chosen randomly from this environment ' s nodes exclusive of the given exclusions .
pub fn random_node_excluding(&self, exclusions: &[NodeId]) -> (NodeId, &TempCryptoComponent) {
        self.choose_multiple_excluding(1, exclusions)
            .into_iter()
            .next()
            .expect("no available nodes")
    }
pub fn random_node_excluding ( & self , exclusions : & [ NodeId ] ) -> ( NodeId , & TempCryptoComponent ) { self . choose_multiple_excluding ( 1 , exclusions ) . into_iter ( ) . next ( ) . expect ( " " ) }
Returns a node (Id and reference-to-CryptoComponent) chosen randomly
from this environment's nodes exclusive of the given exclusions.
Returns a node ( Id and reference - to - CryptoComponent ) chosen randomly from this environment ' s nodes exclusive of the given exclusions .
&self
exclusions
&[NodeId]