Skip to main content

DEFAULT_DRIVER_NAME

Constant DEFAULT_DRIVER_NAME 

Source
pub const DEFAULT_DRIVER_NAME: &str = "default";
Expand description

Pick a driver for adapter (user-supplied selector or default ranking) and instantiate it.

selector_param is the workload param a user sets to override the default — e.g. "cqldriver" for the cql adapter. Single-name semantics by convention; comma-separated lists are accepted (the runner walks them in order and takes the first that’s compiled in). Sentinel driver name for adapters that don’t have multiple DriverImpl registrations (HTTP, stdout, testkit, openapi — anything that registers only via AdapterRegistration with a direct create factory). The shared-pool path keys SharedDriverRegistration by (adapter, driver); single-engine adapters submit theirs with this sentinel so the executor’s lookup finds them after resolve_driver_name returns the same sentinel.