pub trait NjFutureExt: Future {
    fn try_to_js(self, js_env: &JsEnv) -> Result<*mut napi_value__, NjError>
    where
        Self: Sized + Send + 'static,
        Self::Output: TryIntoJs
, { ... } }

Provided Methods§

source

fn try_to_js(self, js_env: &JsEnv) -> Result<*mut napi_value__, NjError>where
    Self: Sized + Send + 'static,
    Self::Output: TryIntoJs,

Implementors§

source§

impl<T> NjFutureExt for Twhere
    T: Future + ?Sized,