pub enum DeepStack<T> {
Completed(T),
Panicked,
NotSpawned,
}Expand description
The outcome of running work on a dedicated large stack.
Variants§
Completed(T)
The work ran to completion, yielding its value.
Panicked
A worker thread started but the work panicked while running on it.
NotSpawned
No worker thread could be spawned, so the work never ran.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for DeepStack<T>where
T: Freeze,
impl<T> RefUnwindSafe for DeepStack<T>where
T: RefUnwindSafe,
impl<T> Send for DeepStack<T>where
T: Send,
impl<T> Sync for DeepStack<T>where
T: Sync,
impl<T> Unpin for DeepStack<T>where
T: Unpin,
impl<T> UnsafeUnpin for DeepStack<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for DeepStack<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