pub trait ConnectorKindAdapter: Send + Sync {
// Required method
fn kind(&self) -> &'static str;
// Provided methods
fn defaults(&self) -> ParamMap { ... }
fn url_to_params(&self, _url: &str) -> Result<ParamMap> { ... }
}Expand description
Adapter trait for parsing connector URL into flattened params and providing defaults.
Note: The global registry and lifecycle management of adapters live in wp-engine. This API crate only defines the trait and common ParamMap type to keep the interface stable.