pub struct WorkerHandleBuilder<D, F, Fut, S: WorkerTemplate>where
D: Send,
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> WorkerHandleBuilder<D, F, Fut, S>
impl<D, F, Fut, S: WorkerTemplate> WorkerHandleBuilder<D, F, Fut, S>
Trait Implementations§
Auto Trait Implementations§
impl<D, F, Fut, S> Freeze for WorkerHandleBuilder<D, F, Fut, S>
impl<D, F, Fut, S> RefUnwindSafe for WorkerHandleBuilder<D, F, Fut, S>where
Option<F>: RefUnwindSafe,
Option<MainProgress<S>>: RefUnwindSafe,
Option<Receiver<D>>: RefUnwindSafe,
impl<D, F, Fut, S> Send for WorkerHandleBuilder<D, F, Fut, S>
impl<D, F, Fut, S> Sync for WorkerHandleBuilder<D, F, Fut, S>
impl<D, F, Fut, S> Unpin for WorkerHandleBuilder<D, F, Fut, S>
impl<D, F, Fut, S> UnsafeUnpin for WorkerHandleBuilder<D, F, Fut, S>where
Option<F>: UnsafeUnpin,
Option<MainProgress<S>>: UnsafeUnpin,
Option<Receiver<D>>: UnsafeUnpin,
impl<D, F, Fut, S> UnwindSafe for WorkerHandleBuilder<D, F, Fut, S>
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