Skip to main content

find_shared_driver

Function find_shared_driver 

Source
pub fn find_shared_driver(
    adapter: &str,
    driver: &str,
) -> Option<&'static SharedDriverRegistration>
Expand description

Look up the shared registration for a (adapter, driver) pair. Returns None when the driver hasn’t migrated to the pool-shared shape — the executor falls back to the LegacyAdapterResource shim under PerPhase policy in that case.