Skip to main content

call_builtin_bridge

Function call_builtin_bridge 

Source
pub fn call_builtin_bridge(
    name: &str,
    args: Vec<StringKeyedValue>,
) -> Result<Option<StringKeyedValue>, String>
Expand description

Call the builtin bridge for a named builtin.

Returns:

  • Ok(Some(result)) if the bridge handled the builtin
  • Ok(None) if no bridge is installed (caller should error)
  • Err(msg) if the bridge returned an error