[][src]Trait nj_core::NjFutureExt

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

Provided methods

pub fn try_to_js(self, js_env: &JsEnv) -> Result<napi_value, NjError> where
    Self: Sized + Send + 'static,
    Self::Output: TryIntoJs
[src]

Loading content...

Implementors

impl<T: ?Sized> NjFutureExt for T where
    T: Future
[src]

Loading content...