pub(crate) async fn add_node(
        &mut self,
        rng: &mut TestRng,
    ) -> Result<(R::NodeId, &mut Runner<ConditionCheckReactor<R>>), R::Error> {
        self.add_node_with_config(Default::default(), rng).await
    }
/// Creates a new networking node on the network using the default root node port.
///
/// # Panics
///
/// Panics if a duplicate node ID is being inserted. This should only happen in case a randomly
/// generated ID collides.
Creates a new networking node on the network using the default root node port.
Creates a new networking node on the network using the default root node port .
pub(crate) async fn add_node(
        &mut self,
        rng: &mut TestRng,
    ) -> Result<(R::NodeId, &mut Runner<ConditionCheckReactor<R>>), R::Error> {
        self.add_node_with_config(Default::default(), rng).await
    }
pub ( crate ) async fn add_node ( & mut self , rng : & mut TestRng , ) -> Result < ( R :: NodeId , & mut Runner < ConditionCheckReactor < R > > ) , R :: Error > { self . add_node_with_config ( Default :: default ( ) , rng ) . await }
Creates a new networking node on the network using the default root node port.
Creates a new networking node on the network using the default root node port .
&mut self
rng
&mut TestRng
&mut self
rng
&mut TestRng
panics
Panics if a duplicate node ID is being inserted. This should only happen in case a randomly
generated ID collides.
Panics if a duplicate node ID is being inserted . This should only happen in case a randomly generated ID collides .