in azure-kusto-data/src/client.rs [39:55]
fn new_pipeline_from_options(
auth: ConnectionStringAuth,
resource: String,
options: KustoClientOptions,
) -> Pipeline {
let auth_policy = Arc::new(AuthorizationPolicy::new(auth, resource));
// take care of adding the AuthorizationPolicy as **last** retry policy.
let per_retry_policies: Vec<Arc<(dyn azure_core::Policy + 'static)>> = vec![auth_policy];
Pipeline::new(
option_env!("CARGO_PKG_NAME"),
option_env!("CARGO_PKG_VERSION"),
options.options,
Vec::new(),
per_retry_policies,
)
}