Trait IntoJs

Source
pub trait IntoJs {
    // Required method
    fn into_js(self, js_env: &JsEnv) -> napi_value;
}
Expand description

convert to js including error

Required Methods§

Source

fn into_js(self, js_env: &JsEnv) -> napi_value

Implementations on Foreign Types§

Source§

impl IntoJs for Result<napi_value, NjError>

Source§

fn into_js(self, js_env: &JsEnv) -> napi_value

Implementors§