pub fn action_options_from_js<'a, C: Context<'a>>(
    cx: &mut C,
    action_options_js: Handle<'_, JsObject>
) -> NeonResult<ActionOptions>
Expand description

Function to convert JsObject of ActionOption to Rust ActionOption

Arguments

  • cx - Neon FunctionContext
  • action_options_js - Neon JsObject

Returns

  • ActionOption

Errors

  • Throws a Neon error if the object cannot be converted