pub struct NextTask { /* private fields */ }Trait Implementations§
Source§impl Task for NextTask
impl Task for NextTask
type Output = Option<Variant>
type JsValue = Object<'static>
Source§fn resolve(&mut self, env: Env, output: Self::Output) -> Result<Self::JsValue>
fn resolve(&mut self, env: Env, output: Self::Output) -> Result<Self::JsValue>
Into this method if
compute return OkAuto Trait Implementations§
impl Freeze for NextTask
impl RefUnwindSafe for NextTask
impl Send for NextTask
impl Sync for NextTask
impl Unpin for NextTask
impl UnwindSafe for NextTask
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
§impl<'a, T> ScopedTask<'a> for Twhere
T: Task,
impl<'a, T> ScopedTask<'a> for Twhere
T: Task,
type Output = <T as Task>::Output
type JsValue = <T as Task>::JsValue
§fn resolve(
&mut self,
env: &'a Env,
output: <T as ScopedTask<'a>>::Output,
) -> Result<<T as ScopedTask<'a>>::JsValue, Error>
fn resolve( &mut self, env: &'a Env, output: <T as ScopedTask<'a>>::Output, ) -> Result<<T as ScopedTask<'a>>::JsValue, Error>
Into this method if
compute return Ok