Struct napi_h::JsDeferred
source · pub struct JsDeferred<Data: ToNapiValue, Resolver: FnOnce(Env) -> Result<Data>> { /* private fields */ }
Implementations§
source§impl<Data: ToNapiValue, Resolver: FnOnce(Env) -> Result<Data>> JsDeferred<Data, Resolver>
impl<Data: ToNapiValue, Resolver: FnOnce(Env) -> Result<Data>> JsDeferred<Data, Resolver>
Trait Implementations§
impl<Data: ToNapiValue, Resolver: FnOnce(Env) -> Result<Data>> Send for JsDeferred<Data, Resolver>
Auto Trait Implementations§
impl<Data, Resolver> Freeze for JsDeferred<Data, Resolver>
impl<Data, Resolver> RefUnwindSafe for JsDeferred<Data, Resolver>where
Data: RefUnwindSafe,
Resolver: RefUnwindSafe,
impl<Data, Resolver> !Sync for JsDeferred<Data, Resolver>
impl<Data, Resolver> Unpin for JsDeferred<Data, Resolver>
impl<Data, Resolver> UnwindSafe for JsDeferred<Data, Resolver>where
Data: UnwindSafe,
Resolver: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more