pub fn ensure_rust_extractor_factory_registered(
type_name: &str,
factory: Box<dyn Fn() -> PyExtractor + Send + Sync>,
) -> Result<(), Error>Expand description
Registers a factory that produces a PyExtractor for the given type name if not already
registered. If the type is already registered, returns Ok(()) without overwriting (idempotent).
Use this where repeated registration can occur (e.g. module load).
ยงErrors
Does not return an error (idempotent insert into DashMap).