Enum collective::thread::manager::FinishReason
source · pub enum FinishReason {
MonitorError {
error: Error,
},
ThreadFinished {
thread: Thread,
},
ThreadPanic {
threads: Vec<Thread>,
},
MonitorJoinError,
MonitorSendError {
error: SendError<Thread>,
},
}
Expand description
Reason why a call to ThreadManager::join_all
returned.
Variants§
MonitorError
The monitor thread encountered an error.
ThreadFinished
A thread marked as triggers_shutdown
finished.
ThreadPanic
One of more threads panicked.
MonitorJoinError
Unable to join with monnitor thread
MonitorSendError
Monitor was unable to send a notification
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FinishReason
impl RefUnwindSafe for FinishReason
impl Send for FinishReason
impl Sync for FinishReason
impl Unpin for FinishReason
impl UnwindSafe for FinishReason
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