pub type RustAdapterFn = Box<dyn Fn(&str, &str) -> Result<(String, String), (i32, String, String)> + Send + Sync>;Expand description
A Rust-native executor function.
Takes the component ID and target version, returns:
Ok((stdout, stderr))on success (exit code 0)Err((exit_code, stdout, stderr))on failure
Aliased Typeยง
pub struct RustAdapterFn(/* private fields */);