pub enum ParallelError {
QueueFull,
DependencyCycle,
TaskNotFound(String),
InvalidWorkerCount(usize),
ExecutionFailed(String),
NumaAllocationFailed(String),
}Expand description
Parallel execution errors.
Variants§
QueueFull
DependencyCycle
TaskNotFound(String)
InvalidWorkerCount(usize)
ExecutionFailed(String)
NumaAllocationFailed(String)
Trait Implementations§
Source§impl Clone for ParallelError
impl Clone for ParallelError
Source§fn clone(&self) -> ParallelError
fn clone(&self) -> ParallelError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParallelError
impl Debug for ParallelError
Source§impl Display for ParallelError
impl Display for ParallelError
Source§impl Error for ParallelError
impl Error for ParallelError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ParallelError
impl PartialEq for ParallelError
impl StructuralPartialEq for ParallelError
Auto Trait Implementations§
impl Freeze for ParallelError
impl RefUnwindSafe for ParallelError
impl Send for ParallelError
impl Sync for ParallelError
impl Unpin for ParallelError
impl UnwindSafe for ParallelError
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