pub fn create_server_plugins(config: &AppConfig) -> Result<Vec<ServerPluginWrapper>> {
    /*
     * Design note: Why are these wrapped in Arcs? Great question! Each ServerHandle needs an owned copy of
     * them and we can't have the trait extend Copy or Clone, as that would make it not object safe.
     */
    Ok(vec![
        ServerPluginWrapper::DockerComposeServerPlugin(DockerComposeServerPlugin::new(
            "firely_spark".into(),
            config
                .benchmark_dir()?
                .join("server_builds")
                .join("firely_spark")
                .join("docker_compose_firely_spark.sh"),
            Url::parse("http://localhost:5555/fhir/").expect("Unable to parse URL."),
            request_builder_default,
        )),
        ServerPluginWrapper::DockerComposeServerPlugin(DockerComposeServerPlugin::new(
            "hapi_jpaserver_starter".into(),
            config
                .benchmark_dir()?
                .join("server_builds")
                .join("hapi_jpaserver_starter")
                .join("docker_compose_hapi_jpaserver_starter.sh"),
            Url::parse("http://localhost:8080/fhir/").expect("Unable to parse URL."),
            request_builder_default,
        )),
        ServerPluginWrapper::DockerComposeServerPlugin(DockerComposeServerPlugin::new(
            "ibm_fhir".into(),
            config
                .benchmark_dir()?
                .join("server_builds")
                .join("ibm_fhir")
                .join("docker_compose_ibm_fhir.sh"),
            Url::parse("https://localhost:9443/fhir-server/api/v4/").expect("Unable to parse URL."),
            request_builder_ibm_fhir,
        )),
    ])
}
/// Declares (and provides instances of) all of the [ServerPlugin]s that are available to the application.
Declares (and provides instances of) all of the [ServerPlugin]s that are available to the application.
Declares ( and provides instances of ) all of the [ ServerPlugin ] s that are available to the application .
pub fn create_server_plugins(config: &AppConfig) -> Result<Vec<ServerPluginWrapper>> {
    /*
     * Design note: Why are these wrapped in Arcs? Great question! Each ServerHandle needs an owned copy of
     * them and we can't have the trait extend Copy or Clone, as that would make it not object safe.
     */
    Ok(vec![
        ServerPluginWrapper::DockerComposeServerPlugin(DockerComposeServerPlugin::new(
            "firely_spark".into(),
            config
                .benchmark_dir()?
                .join("server_builds")
                .join("firely_spark")
                .join("docker_compose_firely_spark.sh"),
            Url::parse("http://localhost:5555/fhir/").expect("Unable to parse URL."),
            request_builder_default,
        )),
        ServerPluginWrapper::DockerComposeServerPlugin(DockerComposeServerPlugin::new(
            "hapi_jpaserver_starter".into(),
            config
                .benchmark_dir()?
                .join("server_builds")
                .join("hapi_jpaserver_starter")
                .join("docker_compose_hapi_jpaserver_starter.sh"),
            Url::parse("http://localhost:8080/fhir/").expect("Unable to parse URL."),
            request_builder_default,
        )),
        ServerPluginWrapper::DockerComposeServerPlugin(DockerComposeServerPlugin::new(
            "ibm_fhir".into(),
            config
                .benchmark_dir()?
                .join("server_builds")
                .join("ibm_fhir")
                .join("docker_compose_ibm_fhir.sh"),
            Url::parse("https://localhost:9443/fhir-server/api/v4/").expect("Unable to parse URL."),
            request_builder_ibm_fhir,
        )),
    ])
}
pub fn create_server_plugins ( config : & AppConfig ) -> Result < Vec < ServerPluginWrapper > > { /*
     * Design note: Why are these wrapped in Arcs? Great question! Each ServerHandle needs an owned copy of
     * them and we can't have the trait extend Copy or Clone, as that would make it not object safe.
     */ Ok ( vec ! [ ServerPluginWrapper DockerComposeServerPlugin ( DockerComposeServerPlugin new ( " " into ( ) config benchmark_dir ( ) join ( " " ) join ( " " ) join ( " " ) Url parse ( " " ) expect ( " " ) request_builder_default ) ) ServerPluginWrapper DockerComposeServerPlugin ( DockerComposeServerPlugin new ( " " into ( ) config benchmark_dir ( ) join ( " " ) join ( " " ) join ( " " ) Url parse ( " " ) expect ( " " ) request_builder_default ) ) ServerPluginWrapper DockerComposeServerPlugin ( DockerComposeServerPlugin new ( " " into ( ) config benchmark_dir ( ) join ( " " ) join ( " " ) join ( " " ) Url parse ( " " ) expect ( " " ) request_builder_ibm_fhir ) ) ] ) }
Declares (and provides instances of) all of the [ServerPlugin]s that are available to the application.
Declares ( and provides instances of ) all of the [ ServerPlugin ] s that are available to the application .
config
&AppConfig
config
&AppConfig