Skip to main content

ParamLoaderFn

Type Alias ParamLoaderFn 

Source
pub type ParamLoaderFn = Arc<dyn Fn(PathBuf) -> Pin<Box<dyn Future<Output = Result<Vec<ParameterInfo>>> + Send>> + Send + Sync>;
Expand description

Callback type for loading parameters from a rebuilt dylib.

The closure receives the engine directory and must return the loaded parameters. This is injected by the CLI to handle dylib discovery, temp copying, and subprocess extraction.

Aliased Typeยง

pub struct ParamLoaderFn { /* private fields */ }