pub enum ParallelRunError {
ThreadPanic {
thread_name: String,
source: PanicError,
},
UnjoinedThreadPanic {
source: PanicError,
},
IpcError {
thread_name: String,
source: Error,
},
SpawnError {
channel_id: usize,
source: Error,
},
RouterSpawn {
source: Error,
},
}
Expand description
An error that happened during a parallel execution of processors.
Variants§
ThreadPanic
A thread has panicked.
UnjoinedThreadPanic
An unknown thread has panicked. Shouldn’t happen.
Fields
§
source: PanicError
Panic message.
IpcError
IPC communication error.
SpawnError
Spawn of a processor failed.
RouterSpawn
Can’t spawn a router thread.
Trait Implementations§
Source§impl Debug for ParallelRunError
impl Debug for ParallelRunError
Source§impl Display for ParallelRunError
impl Display for ParallelRunError
Source§impl Error for ParallelRunError
impl Error for ParallelRunError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for ParallelRunError
impl ErrorCompat for ParallelRunError
Auto Trait Implementations§
impl Freeze for ParallelRunError
impl !RefUnwindSafe for ParallelRunError
impl Send for ParallelRunError
impl !Sync for ParallelRunError
impl Unpin for ParallelRunError
impl !UnwindSafe for ParallelRunError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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