fn node_mut(&mut self, validator_id: &ValidatorId) -> TestResult<&mut HighwayNode> {
        self.virtual_net
            .node_mut(validator_id)
            .ok_or_else(|| TestRunError::MissingValidator(*validator_id))
    }
/// Helper for getting validator from the underlying virtual net.
Helper for getting validator from the underlying virtual net.
Helper for getting validator from the underlying virtual net .
fn node_mut(&mut self, validator_id: &ValidatorId) -> TestResult<&mut HighwayNode> {
        self.virtual_net
            .node_mut(validator_id)
            .ok_or_else(|| TestRunError::MissingValidator(*validator_id))
    }
fn node_mut ( & mut self , validator_id : & ValidatorId ) -> TestResult < & mut HighwayNode > { self . virtual_net . node_mut ( validator_id ) . ok_or_else ( | | TestRunError :: MissingValidator ( * validator_id ) ) }
Helper for getting validator from the underlying virtual net.
Helper for getting validator from the underlying virtual net .
&mut self
validator_id
&ValidatorId
&mut self
validator_id
&ValidatorId