pub struct WorkerHandle<D, F, Fut, S>where
Fut: Future<Output = Result<()>> + Send + 'static,
Fut::Output: Send + 'static,
F: Fn(D, MainProgress<S>) -> Fut,{ /* private fields */ }Implementations§
Source§impl<D, F, Fut, S: WorkerTemplate> WorkerHandle<D, F, Fut, S>
impl<D, F, Fut, S: WorkerTemplate> WorkerHandle<D, F, Fut, S>
Auto Trait Implementations§
impl<D, F, Fut, S> Freeze for WorkerHandle<D, F, Fut, S>
impl<D, F, Fut, S> RefUnwindSafe for WorkerHandle<D, F, Fut, S>where
F: RefUnwindSafe,
S: RefUnwindSafe,
impl<D, F, Fut, S> Send for WorkerHandle<D, F, Fut, S>
impl<D, F, Fut, S> Sync for WorkerHandle<D, F, Fut, S>
impl<D, F, Fut, S> Unpin for WorkerHandle<D, F, Fut, S>
impl<D, F, Fut, S> UnwindSafe for WorkerHandle<D, F, Fut, S>where
F: UnwindSafe,
S: 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