pub struct QueryTask { /* private fields */ }Trait Implementations§
Source§impl Task for QueryTask
impl Task for QueryTask
Auto Trait Implementations§
impl Freeze for QueryTask
impl RefUnwindSafe for QueryTask
impl Send for QueryTask
impl Sync for QueryTask
impl Unpin for QueryTask
impl UnwindSafe for QueryTask
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