pub fn new(clients: Vec<AdmissionControlClient>, debug_client: NodeDebugClient) -> Self {
        if clients.is_empty() {
            panic!("failed to create benchmarker without any AdmissionControlClient");
        }
        let wallet = WalletLibrary::new();
        let arc_clients = clients.into_iter().map(Arc::new).collect();
        Benchmarker {
            clients: arc_clients,
            wallet,
            debug_client,
        }
    }
/// Construct Benchmarker with a vector of AC clients and a NodeDebugClient.
Construct Benchmarker with a vector of AC clients and a NodeDebugClient.
Construct Benchmarker with a vector of AC clients and a NodeDebugClient .
pub fn new(clients: Vec<AdmissionControlClient>, debug_client: NodeDebugClient) -> Self {
        if clients.is_empty() {
            panic!("failed to create benchmarker without any AdmissionControlClient");
        }
        let wallet = WalletLibrary::new();
        let arc_clients = clients.into_iter().map(Arc::new).collect();
        Benchmarker {
            clients: arc_clients,
            wallet,
            debug_client,
        }
    }
pub fn new ( clients : Vec < AdmissionControlClient > , debug_client : NodeDebugClient ) -> Self { if clients . is_empty ( ) { panic ! ( " " ) ; } let wallet = WalletLibrary :: new ( ) ; let arc_clients = clients . into_iter ( ) . map ( Arc :: new ) . collect ( ) ; Benchmarker { clients : arc_clients , wallet , debug_client , } }
Construct Benchmarker with a vector of AC clients and a NodeDebugClient.
Construct Benchmarker with a vector of AC clients and a NodeDebugClient .
clients
Vec<AdmissionControlClient>
debug_client
NodeDebugClient