try_set_js_value

Function try_set_js_value 

Source
pub fn try_set_js_value(
    object: &Object,
    key: &str,
    value: impl TryInto<JsValue, Error = Error>,
) -> Result<()>