enum WorkHandle<'scope> {
Static(JoinHandle<Result<usize>>),
Scoped(ScopedJoinHandle<'scope, Result<usize>>),
}
Variants§
Static(JoinHandle<Result<usize>>)
Scoped(ScopedJoinHandle<'scope, Result<usize>>)
Auto Trait Implementations§
impl<'scope> !RefUnwindSafe for WorkHandle<'scope>
impl<'scope> Send for WorkHandle<'scope>
impl<'scope> Sync for WorkHandle<'scope>
impl<'scope> Unpin for WorkHandle<'scope>
impl<'scope> !UnwindSafe for WorkHandle<'scope>
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