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