pub struct NextBatchTask { /* private fields */ }Trait Implementations§
Source§impl Task for NextBatchTask
impl Task for NextBatchTask
type Output = Vec<Variant>
type JsValue = Vec<Variant>
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 NextBatchTask
impl RefUnwindSafe for NextBatchTask
impl Send for NextBatchTask
impl Sync for NextBatchTask
impl Unpin for NextBatchTask
impl UnwindSafe for NextBatchTask
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