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> Freeze for WorkHandle<'scope>
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