pub enum RuntimeJoinHandle<T> {
SyncJobHandle,
AsyncTokioJoinHandle(JoinHandle<T>),
FutureBlockJoinHandle(T),
_Unreachable(Infallible, PhantomData<T>),
}Variants§
SyncJobHandle
AsyncTokioJoinHandle(JoinHandle<T>)
FutureBlockJoinHandle(T)
_Unreachable(Infallible, PhantomData<T>)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for RuntimeJoinHandle<T>where
T: Freeze,
impl<T> RefUnwindSafe for RuntimeJoinHandle<T>where
T: RefUnwindSafe,
impl<T> Send for RuntimeJoinHandle<T>where
T: Send,
impl<T> Sync for RuntimeJoinHandle<T>
impl<T> Unpin for RuntimeJoinHandle<T>where
T: Unpin,
impl<T> UnwindSafe for RuntimeJoinHandle<T>where
T: 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